#372391#372391

#372391 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.2% C 0.169 H 282.2°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#372391
RGBrgb(55, 35, 145)
HSLhsl(251, 61%, 35%)
HSVhsv(251, 76%, 57%)
CMYKcmyk(62.1%, 75.9%, 0%, 43.1%)
CIE-LABlab(23.86, 40.58, -57.20)
CIE-LCHlch(23.86, 70.13, 305.35°)
OKLaboklab(36.15% 0.0357 -0.1649)
OKLCHoklch(36.15% 0.169 282.2)
XYZxyz(7.2858, 4.0581, 27.1819)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372391 #7D9123
analogous
#234691 #372391 #6E2391
triadic
#372391 #913723 #239137
tetradic
#372391 #912346 #7D9123 #23916E
square
#372391 #912346 #7D9123 #23916E
split-complementary
#372391 #916E23 #469123
monochromatic
#120B2E #241760 #372391 #4A2FC2 #6F58D7

Accessibility & contrast

On white

11.59
#372391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#372391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372391
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372391#FFFFFF#000000##FFFFFF
##3723911.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#004258
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372391;
/* rgb */ color: rgb(55, 35, 145);
/* oklch */ color: oklch(36.2% 0.169 282.2);
Tailwind
colors: {
  custom: {
    50: '#7a61b2',
    500: '#372391',
    950: '#000000',
  },
}
SCSS
$custom: #372391;
$custom-light: #7a61b2;
$custom-dark: #000000;
JSON
{
  "hex": "#372391",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 250.909,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36151,
    "c": 0.16876,
    "h": 282.2
  },
  "luminance": 0.04059
}

Semantic roles & 50–950 ramp

primary
#372391
secondary
#A8BB55
accent
#E444C7
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372391

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

Preview Lab → · Contrast checker → · Palette generator →

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