#35237B#35237B

#35237B is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.141 H 285.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#35237B
RGBrgb(53, 35, 123)
HSLhsl(252, 56%, 31%)
HSVhsv(252, 72%, 48%)
CMYKcmyk(56.9%, 71.5%, 0%, 51.8%)
CIE-LABlab(21.54, 33.26, -47.22)
CIE-LCHlch(21.54, 57.76, 305.16°)
OKLaboklab(33.8% 0.0375 -0.1358)
OKLCHoklch(33.8% 0.141 285.4)
XYZxyz(5.6433, 3.3887, 19.0918)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35237B #697B23
analogous
#233D7B #35237B #61237B
triadic
#35237B #7B3523 #237B35
tetradic
#35237B #7B233D #697B23 #237B61
square
#35237B #7B233D #697B23 #237B61
split-complementary
#35237B #7B6123 #3D7B23
monochromatic
#0C081C #20154B #35237B #4A31AB #664CCC

Accessibility & contrast

On white

12.52
#35237B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#35237B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35237B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35237B#FFFFFF#000000##FFFFFF
##35237B1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367E
Deuteranopia (green-blind)
#003179
Tritanopia (blue-blind)
#163A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35237b;
/* rgb */ color: rgb(53, 35, 123);
/* oklch */ color: oklch(33.8% 0.141 285.4);
Tailwind
colors: {
  custom: {
    50: '#745fa2',
    500: '#35237b',
    950: '#000000',
  },
}
SCSS
$custom: #35237b;
$custom-light: #745fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#35237b",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 123
  },
  "hsl": {
    "h": 252.273,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33801,
    "c": 0.14085,
    "h": 285.4
  },
  "luminance": 0.03389
}

Semantic roles & 50–950 ramp

primary
#35237B
secondary
#9AAE4C
accent
#DF49C0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35237B

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

Preview Lab → · Contrast checker → · Palette generator →

#35237B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva