#372185#372185

#372185 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.156 H 284.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#372185
RGBrgb(55, 33, 133)
HSLhsl(253, 60%, 33%)
HSVhsv(253, 75%, 52%)
CMYKcmyk(58.6%, 75.2%, 0%, 47.8%)
CIE-LABlab(22.28, 37.91, -52.32)
CIE-LCHlch(22.28, 64.62, 305.93°)
OKLaboklab(34.67% 0.0402 -0.1506)
OKLCHoklch(34.67% 0.156 284.9)
XYZxyz(6.3518, 3.5930, 22.5446)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372185 #6F8521
analogous
#213D85 #372185 #692185
triadic
#372185 #853721 #218537
tetradic
#372185 #85213D #6F8521 #218569
square
#372185 #85213D #6F8521 #218569
split-complementary
#372185 #856921 #3D8521
monochromatic
#0E0923 #231554 #372185 #4B2DB6 #6B4DD3

Accessibility & contrast

On white

12.22
#372185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#372185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372185
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372185#FFFFFF#000000##FFFFFF
##3721851.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.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: #372185;
/* rgb */ color: rgb(55, 33, 133);
/* oklch */ color: oklch(34.7% 0.156 284.9);
Tailwind
colors: {
  custom: {
    50: '#775fa9',
    500: '#372185',
    950: '#000000',
  },
}
SCSS
$custom: #372185;
$custom-light: #775fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#372185",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 253.2,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34669,
    "c": 0.15592,
    "h": 284.9
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#372185
secondary
#9FB64C
accent
#E344C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372185

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

Preview Lab → · Contrast checker → · Palette generator →

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