#35207C#35207C

#35207C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.4% C 0.146 H 285.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#35207C
RGBrgb(53, 32, 124)
HSLhsl(254, 59%, 31%)
HSVhsv(254, 74%, 49%)
CMYKcmyk(57.3%, 74.2%, 0%, 51.4%)
CIE-LABlab(21.00, 35.33, -48.74)
CIE-LCHlch(21.00, 60.20, 305.94°)
OKLaboklab(33.45% 0.0401 -0.1402)
OKLCHoklch(33.45% 0.146 285.9)
XYZxyz(5.6217, 3.2448, 19.3950)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35207C #677C20
analogous
#20397C #35207C #63207C
triadic
#35207C #7C3520 #207C35
tetradic
#35207C #7C2039 #677C20 #207C63
square
#35207C #7C2039 #677C20 #207C63
split-complementary
#35207C #7C6320 #397C20
monochromatic
#0B071B #20134B #35207C #4A2DAD #6647CF

Accessibility & contrast

On white

12.73
#35207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#35207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35207C
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35207C#FFFFFF#000000##FFFFFF
##35207C1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#15394C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35207c;
/* rgb */ color: rgb(53, 32, 124);
/* oklch */ color: oklch(33.4% 0.146 285.9);
Tailwind
colors: {
  custom: {
    50: '#755ea3',
    500: '#35207c',
    950: '#000000',
  },
}
SCSS
$custom: #35207c;
$custom-light: #755ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#35207c",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 253.696,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33446,
    "c": 0.14583,
    "h": 285.9
  },
  "luminance": 0.03245
}

Semantic roles & 50–950 ramp

primary
#35207C
secondary
#98AF49
accent
#E246BE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35207C

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

Preview Lab → · Contrast checker → · Palette generator →

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