#35183E#35183E

#35183E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 26.9% C 0.076 H 317.6°. Best body text is #FFFFFF at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#35183E
RGBrgb(53, 24, 62)
HSLhsl(286, 44%, 17%)
HSVhsv(286, 61%, 24%)
CMYKcmyk(14.5%, 61.3%, 0%, 75.7%)
CIE-LABlab(14.16, 21.87, -18.43)
CIE-LCHlch(14.16, 28.60, 319.89°)
OKLaboklab(26.92% 0.0563 -0.0513)
OKLCHoklch(26.92% 0.076 317.6)
XYZxyz(2.6642, 1.7580, 4.7555)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35183E #213E18
analogous
#22183E #35183E #3E1834
triadic
#35183E #3E3518 #183E35
tetradic
#35183E #3E2218 #213E18 #18343E
square
#35183E #3E2218 #213E18 #18343E
split-complementary
#35183E #343E18 #183E22
monochromatic
#130916 #130916 #35183E #5B296A #803A96

Accessibility & contrast

On white

15.54
#35183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#35183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35183E
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35183E#FFFFFF#000000##FFFFFF
##35183E1.0015.541.3515.54
#FFFFFF15.541.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10223F
Deuteranopia (green-blind)
#19253D
Tritanopia (blue-blind)
#351E28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #35183e;
/* rgb */ color: rgb(53, 24, 62);
/* oklch */ color: oklch(26.9% 0.076 317.6);
Tailwind
colors: {
  custom: {
    50: '#6d5673',
    500: '#35183e',
    950: '#000000',
  },
}
SCSS
$custom: #35183e;
$custom-light: #6d5673;
$custom-dark: #000000;
JSON
{
  "hex": "#35183e",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 285.789,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2692,
    "c": 0.07612,
    "h": 317.6
  },
  "luminance": 0.01758
}

Semantic roles & 50–950 ramp

primary
#35183E
secondary
#4A743D
accent
#D45472
background
#F6F5F7
surface
#ECE9ED
border
#C7C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #35183E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#35183E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva