#35208F#35208F

#35208F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.170 H 282.0°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#35208F
RGBrgb(53, 32, 143)
HSLhsl(251, 63%, 34%)
HSVhsv(251, 78%, 56%)
CMYKcmyk(62.9%, 77.6%, 0%, 43.9%)
CIE-LABlab(22.91, 41.30, -57.55)
CIE-LCHlch(22.91, 70.83, 305.67°)
OKLaboklab(35.37% 0.0353 -0.166)
OKLCHoklch(35.37% 0.17 282)
XYZxyz(6.9411, 3.7726, 26.3437)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35208F #7A8F20
analogous
#20438F #35208F #6D208F
triadic
#35208F #8F3520 #208F35
tetradic
#35208F #8F2043 #7A8F20 #208F6D
square
#35208F #8F2043 #7A8F20 #208F6D
split-complementary
#35208F #8F6D20 #438F20
monochromatic
#100A2B #22155D #35208F #482BC1 #6B51D8

Accessibility & contrast

On white

11.97
#35208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35208F
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35208F#FFFFFF#000000##FFFFFF
##35208F1.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00338D
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35208f;
/* rgb */ color: rgb(53, 32, 143);
/* oklch */ color: oklch(35.4% 0.170 282.0);
Tailwind
colors: {
  custom: {
    50: '#785fb1',
    500: '#35208f',
    950: '#000000',
  },
}
SCSS
$custom: #35208f;
$custom-light: #785fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#35208f",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 251.351,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35369,
    "c": 0.16969,
    "h": 282
  },
  "luminance": 0.03773
}

Semantic roles & 50–950 ramp

primary
#35208F
secondary
#A7BB4F
accent
#E641C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #35208F

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

Preview Lab → · Contrast checker → · Palette generator →

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