#35237D#35237D

#35237D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.143 H 285.0°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#35237D
RGBrgb(53, 35, 125)
HSLhsl(252, 56%, 31%)
HSVhsv(252, 72%, 49%)
CMYKcmyk(57.6%, 72%, 0%, 51%)
CIE-LABlab(21.72, 33.90, -48.19)
CIE-LCHlch(21.72, 58.92, 305.13°)
OKLaboklab(33.99% 0.0371 -0.1386)
OKLCHoklch(33.99% 0.144 285)
XYZxyz(5.7698, 3.4393, 19.7579)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35237D #6B7D23
analogous
#233E7D #35237D #62237D
triadic
#35237D #7D3523 #237D35
tetradic
#35237D #7D233E #6B7D23 #237D62
square
#35237D #7D233E #6B7D23 #237D62
split-complementary
#35237D #7D6223 #3E7D23
monochromatic
#0C081D #21164D #35237D #4930AD #674DCD

Accessibility & contrast

On white

12.44
#35237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#35237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35237D
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35237D#FFFFFF#000000##FFFFFF
##35237D1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00317B
Tritanopia (blue-blind)
#133B4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #35237d;
/* rgb */ color: rgb(53, 35, 125);
/* oklch */ color: oklch(34.0% 0.143 285.0);
Tailwind
colors: {
  custom: {
    50: '#755fa3',
    500: '#35237d',
    950: '#000000',
  },
}
SCSS
$custom: #35237d;
$custom-light: #755fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#35237d",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 252,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.1435,
    "h": 285
  },
  "luminance": 0.0344
}

Semantic roles & 50–950 ramp

primary
#35237D
secondary
#9CAF4C
accent
#E048C1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #35237D

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

Preview Lab → · Contrast checker → · Palette generator →

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