#35208D#35208D

#35208D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.167 H 282.4°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#35208D
RGBrgb(53, 32, 141)
HSLhsl(252, 63%, 34%)
HSVhsv(252, 77%, 55%)
CMYKcmyk(62.4%, 77.3%, 0%, 44.7%)
CIE-LABlab(22.70, 40.68, -56.65)
CIE-LCHlch(22.70, 69.74, 305.68°)
OKLaboklab(35.16% 0.0359 -0.1633)
OKLCHoklch(35.16% 0.167 282.4)
XYZxyz(6.7909, 3.7125, 25.5529)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35208D #788D20
analogous
#20428D #35208D #6C208D
triadic
#35208D #8D3520 #208D35
tetradic
#35208D #8D2042 #788D20 #208D6C
square
#35208D #8D2042 #788D20 #208D6C
split-complementary
#35208D #8D6C20 #428D20
monochromatic
#100929 #22155B #35208D #482BBF #6A50D7

Accessibility & contrast

On white

12.05
#35208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#35208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35208D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35208D#FFFFFF#000000##FFFFFF
##35208D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #35208d;
/* rgb */ color: rgb(53, 32, 141);
/* oklch */ color: oklch(35.2% 0.167 282.4);
Tailwind
colors: {
  custom: {
    50: '#785eaf',
    500: '#35208d',
    950: '#000000',
  },
}
SCSS
$custom: #35208d;
$custom-light: #785eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#35208d",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 251.56,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35161,
    "c": 0.16723,
    "h": 282.4
  },
  "luminance": 0.03713
}

Semantic roles & 50–950 ramp

primary
#35208D
secondary
#A6BA4E
accent
#E642C6
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35208D

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

Preview Lab → · Contrast checker → · Palette generator →

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