#372085#372085

#372085 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.157 H 285.1°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#372085
RGBrgb(55, 32, 133)
HSLhsl(254, 61%, 32%)
HSVhsv(254, 76%, 52%)
CMYKcmyk(58.6%, 75.9%, 0%, 47.8%)
CIE-LABlab(22.08, 38.46, -52.64)
CIE-LCHlch(22.08, 65.20, 306.15°)
OKLaboklab(34.53% 0.041 -0.1516)
OKLCHoklch(34.53% 0.157 285.1)
XYZxyz(6.3244, 3.5383, 22.5355)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372085 #6E8520
analogous
#203C85 #372085 #692085
triadic
#372085 #853720 #208537
tetradic
#372085 #85203C #6E8520 #208569
square
#372085 #85203C #6E8520 #208569
split-complementary
#372085 #856920 #3C8520
monochromatic
#0E0822 #231454 #372085 #4B2CB6 #6B4CD4

Accessibility & contrast

On white

12.30
#372085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#372085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372085
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372085#FFFFFF#000000##FFFFFF
##3720851.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#0F3C51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372085;
/* rgb */ color: rgb(55, 32, 133);
/* oklch */ color: oklch(34.5% 0.157 285.1);
Tailwind
colors: {
  custom: {
    50: '#775ea9',
    500: '#372085',
    950: '#000000',
  },
}
SCSS
$custom: #372085;
$custom-light: #775ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#372085",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 253.663,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34531,
    "c": 0.15703,
    "h": 285.1
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#372085
secondary
#9EB74A
accent
#E443C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #372085

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

Preview Lab → · Contrast checker → · Palette generator →

#372085 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva