#35237F#35237F

#35237F is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.146 H 284.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#35237F
RGBrgb(53, 35, 127)
HSLhsl(252, 57%, 32%)
HSVhsv(252, 72%, 50%)
CMYKcmyk(58.3%, 72.4%, 0%, 50.2%)
CIE-LABlab(21.91, 34.55, -49.15)
CIE-LCHlch(21.91, 60.08, 305.11°)
OKLaboklab(34.18% 0.0368 -0.1414)
OKLCHoklch(34.18% 0.146 284.6)
XYZxyz(5.8988, 3.4909, 20.4375)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35237F #6D7F23
analogous
#233F7F #35237F #63237F
triadic
#35237F #7F3523 #237F35
tetradic
#35237F #7F233F #6D7F23 #237F63
square
#35237F #7F233F #6D7F23 #237F63
split-complementary
#35237F #7F6323 #3F7F23
monochromatic
#0D091F #21164F #35237F #4930AF #674ECE

Accessibility & contrast

On white

12.37
#35237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#35237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35237F
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35237F#FFFFFF#000000##FFFFFF
##35237F1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003782
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#113B4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35237f;
/* rgb */ color: rgb(53, 35, 127);
/* oklch */ color: oklch(34.2% 0.146 284.6);
Tailwind
colors: {
  custom: {
    50: '#7560a5',
    500: '#35237f',
    950: '#000000',
  },
}
SCSS
$custom: #35237f;
$custom-light: #7560a5;
$custom-dark: #000000;
JSON
{
  "hex": "#35237f",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 251.739,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34184,
    "c": 0.14612,
    "h": 284.6
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#35237F
secondary
#9EB14C
accent
#E048C2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35237F

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

Preview Lab → · Contrast checker → · Palette generator →

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