#371372#371372

#371372 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.148 H 292.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#371372
RGBrgb(55, 19, 114)
HSLhsl(263, 71%, 26%)
HSVhsv(263, 83%, 45%)
CMYKcmyk(51.8%, 83.3%, 0%, 55.3%)
CIE-LABlab(17.89, 39.33, -47.43)
CIE-LCHlch(17.89, 61.61, 309.67°)
OKLaboklab(31.01% 0.057 -0.1362)
OKLCHoklch(31.01% 0.148 292.7)
XYZxyz(4.8448, 2.4927, 16.1422)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371372 #4E7213
analogous
#131E72 #371372 #661372
triadic
#371372 #723713 #137237
tetradic
#371372 #72131E #4E7213 #137266
square
#371372 #72131E #4E7213 #137266
split-complementary
#371372 #726613 #1E7213
monochromatic
#0D041A #1E0A3E #371372 #501CA6 #6A25DB

Accessibility & contrast

On white

14.01
#371372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#371372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371372
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371372#FFFFFF#000000##FFFFFF
##3713721.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002A70
Tritanopia (blue-blind)
#242F43
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371372;
/* rgb */ color: rgb(55, 19, 114);
/* oklch */ color: oklch(31.0% 0.148 292.7);
Tailwind
colors: {
  custom: {
    50: '#75569b',
    500: '#371372',
    950: '#000000',
  },
}
SCSS
$custom: #371372;
$custom-light: #75569b;
$custom-dark: #000000;
JSON
{
  "hex": "#371372",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 114
  },
  "hsl": {
    "h": 262.737,
    "s": 71.429,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3101,
    "c": 0.14764,
    "h": 292.7
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#371372
secondary
#7EA938
accent
#EE3AAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371372

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

Preview Lab → · Contrast checker → · Palette generator →

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