#35208E#35208E

#35208E is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.168 H 282.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#35208E
RGBrgb(53, 32, 142)
HSLhsl(251, 63%, 34%)
HSVhsv(251, 77%, 56%)
CMYKcmyk(62.7%, 77.5%, 0%, 44.3%)
CIE-LABlab(22.80, 40.99, -57.10)
CIE-LCHlch(22.80, 70.29, 305.67°)
OKLaboklab(35.27% 0.0356 -0.1647)
OKLCHoklch(35.27% 0.168 282.2)
XYZxyz(6.8657, 3.7424, 25.9465)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35208E #798E20
analogous
#20428E #35208E #6C208E
triadic
#35208E #8E3520 #208E35
tetradic
#35208E #8E2042 #798E20 #208E6C
square
#35208E #8E2042 #798E20 #208E6C
split-complementary
#35208E #8E6C20 #428E20
monochromatic
#10092A #22155C #35208E #482BC0 #6A51D8

Accessibility & contrast

On white

12.01
#35208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#35208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35208E
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35208E#FFFFFF#000000##FFFFFF
##35208E1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A91
Deuteranopia (green-blind)
#00338C
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #35208e;
/* rgb */ color: rgb(53, 32, 142);
/* oklch */ color: oklch(35.3% 0.168 282.2);
Tailwind
colors: {
  custom: {
    50: '#785eb0',
    500: '#35208e',
    950: '#000000',
  },
}
SCSS
$custom: #35208e;
$custom-light: #785eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#35208e",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 251.455,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35265,
    "c": 0.16846,
    "h": 282.2
  },
  "luminance": 0.03743
}

Semantic roles & 50–950 ramp

primary
#35208E
secondary
#A6BB4F
accent
#E642C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35208E

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

Preview Lab → · Contrast checker → · Palette generator →

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