#372195#372195

#372195 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.3% C 0.176 H 281.8°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#372195
RGBrgb(55, 33, 149)
HSLhsl(251, 64%, 36%)
HSVhsv(251, 78%, 58%)
CMYKcmyk(63.1%, 77.9%, 0%, 41.6%)
CIE-LABlab(23.90, 42.88, -59.61)
CIE-LCHlch(23.90, 73.44, 305.73°)
OKLaboklab(36.3% 0.0361 -0.172)
OKLCHoklch(36.3% 0.176 281.8)
XYZxyz(7.5425, 4.0693, 28.8159)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372195 #7F9521
analogous
#214595 #372195 #712195
triadic
#372195 #953721 #219537
tetradic
#372195 #952145 #7F9521 #219571
square
#372195 #952145 #7F9521 #219571
split-complementary
#372195 #957121 #459521
monochromatic
#120B31 #251663 #372195 #492CC7 #7057DA

Accessibility & contrast

On white

11.58
#372195 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372195
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372195#FFFFFF#000000##FFFFFF
##3721951.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372195;
/* rgb */ color: rgb(55, 33, 149);
/* oklch */ color: oklch(36.3% 0.176 281.8);
Tailwind
colors: {
  custom: {
    50: '#7b60b5',
    500: '#372195',
    950: '#000000',
  },
}
SCSS
$custom: #372195;
$custom-light: #7b60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372195",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 149
  },
  "hsl": {
    "h": 251.379,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.363,
    "c": 0.1757,
    "h": 281.8
  },
  "luminance": 0.0407
}

Semantic roles & 50–950 ramp

primary
#372195
secondary
#AABE54
accent
#E741C7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372195

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

Preview Lab → · Contrast checker → · Palette generator →

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