#372585#372585

#372585 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.151 H 284.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#372585
RGBrgb(55, 37, 133)
HSLhsl(251, 56%, 33%)
HSVhsv(251, 72%, 52%)
CMYKcmyk(58.6%, 72.2%, 0%, 47.8%)
CIE-LABlab(23.10, 35.63, -50.98)
CIE-LCHlch(23.10, 62.20, 304.95°)
OKLaboklab(35.25% 0.0368 -0.1467)
OKLCHoklch(35.25% 0.151 284.1)
XYZxyz(6.4695, 3.8284, 22.5838)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372585 #738525
analogous
#254385 #372585 #672585
triadic
#372585 #853725 #258537
tetradic
#372585 #852543 #738525 #258567
square
#372585 #852543 #738525 #258567
split-complementary
#372585 #856725 #438525
monochromatic
#0F0A25 #231855 #372585 #4B32B5 #6C55D0

Accessibility & contrast

On white

11.89
#372585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#372585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372585
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372585#FFFFFF#000000##FFFFFF
##3725851.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#0F3E52
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372585;
/* rgb */ color: rgb(55, 37, 133);
/* oklch */ color: oklch(35.3% 0.151 284.1);
Tailwind
colors: {
  custom: {
    50: '#7761a9',
    500: '#372585',
    950: '#000000',
  },
}
SCSS
$custom: #372585;
$custom-light: #7761a9;
$custom-dark: #000000;
JSON
{
  "hex": "#372585",
  "rgb": {
    "r": 55,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 251.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3525,
    "c": 0.15128,
    "h": 284.1
  },
  "luminance": 0.03829
}

Semantic roles & 50–950 ramp

primary
#372585
secondary
#A2B452
accent
#E048C3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372585

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

Preview Lab → · Contrast checker → · Palette generator →

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