#35207F#35207F

#35207F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.150 H 285.3°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#35207F
RGBrgb(53, 32, 127)
HSLhsl(253, 60%, 31%)
HSVhsv(253, 75%, 50%)
CMYKcmyk(58.3%, 74.8%, 0%, 50.2%)
CIE-LABlab(21.29, 36.28, -50.17)
CIE-LCHlch(21.29, 61.91, 305.87°)
OKLaboklab(33.74% 0.0394 -0.1444)
OKLCHoklch(33.74% 0.15 285.3)
XYZxyz(5.8143, 3.3219, 20.4094)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35207F #6A7F20
analogous
#203A7F #35207F #64207F
triadic
#35207F #7F3520 #207F35
tetradic
#35207F #7F203A #6A7F20 #207F64
square
#35207F #7F203A #6A7F20 #207F64
split-complementary
#35207F #7F6420 #3A7F20
monochromatic
#0C071D #21144E #35207F #492CB0 #6748D1

Accessibility & contrast

On white

12.62
#35207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#35207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35207F
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35207F#FFFFFF#000000##FFFFFF
##35207F1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#113A4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35207f;
/* rgb */ color: rgb(53, 32, 127);
/* oklch */ color: oklch(33.7% 0.150 285.3);
Tailwind
colors: {
  custom: {
    50: '#755ea5',
    500: '#35207f',
    950: '#000000',
  },
}
SCSS
$custom: #35207f;
$custom-light: #755ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#35207f",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 253.263,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33741,
    "c": 0.14967,
    "h": 285.3
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#35207F
secondary
#9BB249
accent
#E345C0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35207F

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

Preview Lab → · Contrast checker → · Palette generator →

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