#372285#372285

#372285 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.155 H 284.7°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#372285
RGBrgb(55, 34, 133)
HSLhsl(253, 59%, 33%)
HSVhsv(253, 74%, 52%)
CMYKcmyk(58.6%, 74.4%, 0%, 47.8%)
CIE-LABlab(22.48, 37.35, -52.00)
CIE-LCHlch(22.48, 64.02, 305.69°)
OKLaboklab(34.81% 0.0394 -0.1497)
OKLCHoklch(34.81% 0.155 284.7)
XYZxyz(6.3799, 3.6494, 22.5540)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372285 #708522
analogous
#223F85 #372285 #682285
triadic
#372285 #853722 #228537
tetradic
#372285 #85223F #708522 #228568
square
#372285 #85223F #708522 #228568
split-complementary
#372285 #856822 #3F8522
monochromatic
#0F0924 #231654 #372285 #4B2EB6 #6B4FD2

Accessibility & contrast

On white

12.14
#372285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#372285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372285
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372285#FFFFFF#000000##FFFFFF
##3722851.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003383
Tritanopia (blue-blind)
#0F3D51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #372285;
/* rgb */ color: rgb(55, 34, 133);
/* oklch */ color: oklch(34.8% 0.155 284.7);
Tailwind
colors: {
  custom: {
    50: '#775fa9',
    500: '#372285',
    950: '#000000',
  },
}
SCSS
$custom: #372285;
$custom-light: #775fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#372285",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 252.727,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.3481,
    "c": 0.15479,
    "h": 284.7
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#372285
secondary
#9FB64D
accent
#E245C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372285

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

Preview Lab → · Contrast checker → · Palette generator →

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