#35237A#35237A

#35237A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.7% C 0.140 H 285.7°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#35237A
RGBrgb(53, 35, 122)
HSLhsl(252, 55%, 31%)
HSVhsv(252, 71%, 48%)
CMYKcmyk(56.6%, 71.3%, 0%, 52.2%)
CIE-LABlab(21.45, 32.94, -46.74)
CIE-LCHlch(21.45, 57.18, 305.17°)
OKLaboklab(33.71% 0.0377 -0.1343)
OKLCHoklch(33.71% 0.14 285.7)
XYZxyz(5.5810, 3.3638, 18.7638)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35237A #687A23
analogous
#233C7A #35237A #60237A
triadic
#35237A #7A3523 #237A35
tetradic
#35237A #7A233C #687A23 #237A60
square
#35237A #7A233C #687A23 #237A60
split-complementary
#35237A #7A6023 #3C7A23
monochromatic
#0C081B #20154A #35237A #4A31AA #664CCC

Accessibility & contrast

On white

12.55
#35237A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#35237A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35237A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35237A#FFFFFF#000000##FFFFFF
##35237A1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#17394B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35237a;
/* rgb */ color: rgb(53, 35, 122);
/* oklch */ color: oklch(33.7% 0.140 285.7);
Tailwind
colors: {
  custom: {
    50: '#745fa1',
    500: '#35237a',
    950: '#000000',
  },
}
SCSS
$custom: #35237a;
$custom-light: #745fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#35237a",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 122
  },
  "hsl": {
    "h": 252.414,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33707,
    "c": 0.13953,
    "h": 285.7
  },
  "luminance": 0.03364
}

Semantic roles & 50–950 ramp

primary
#35237A
secondary
#99AD4C
accent
#DF49C0
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35237A

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

Preview Lab → · Contrast checker → · Palette generator →

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