#35237C#35237C

#35237C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.9% C 0.142 H 285.2°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#35237C
RGBrgb(53, 35, 124)
HSLhsl(252, 56%, 31%)
HSVhsv(252, 72%, 49%)
CMYKcmyk(57.3%, 71.8%, 0%, 51.4%)
CIE-LABlab(21.63, 33.58, -47.71)
CIE-LCHlch(21.63, 58.34, 305.14°)
OKLaboklab(33.9% 0.0373 -0.1372)
OKLCHoklch(33.9% 0.142 285.2)
XYZxyz(5.7062, 3.4139, 19.4231)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35237C #6A7C23
analogous
#233D7C #35237C #61237C
triadic
#35237C #7C3523 #237C35
tetradic
#35237C #7C233D #6A7C23 #237C61
square
#35237C #7C233D #6A7C23 #237C61
split-complementary
#35237C #7C6123 #3D7C23
monochromatic
#0C081D #21164C #35237C #4930AC #674DCD

Accessibility & contrast

On white

12.48
#35237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35237C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35237C#FFFFFF#000000##FFFFFF
##35237C1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#153A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35237c;
/* rgb */ color: rgb(53, 35, 124);
/* oklch */ color: oklch(33.9% 0.142 285.2);
Tailwind
colors: {
  custom: {
    50: '#745fa3',
    500: '#35237c',
    950: '#000000',
  },
}
SCSS
$custom: #35237c;
$custom-light: #745fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#35237c",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 252.135,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33896,
    "c": 0.14218,
    "h": 285.2
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#35237C
secondary
#9BAF4C
accent
#DF49C1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35237C

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

Preview Lab → · Contrast checker → · Palette generator →

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