#371E52#371E52

#371E52 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 29.7% C 0.093 H 303.4°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#371E52
RGBrgb(55, 30, 82)
HSLhsl(269, 46%, 22%)
HSVhsv(269, 63%, 32%)
CMYKcmyk(32.9%, 63.4%, 0%, 67.8%)
CIE-LABlab(17.23, 24.11, -27.33)
CIE-LCHlch(17.23, 36.45, 311.42°)
OKLaboklab(29.67% 0.051 -0.0773)
OKLCHoklch(29.67% 0.093 303.4)
XYZxyz(3.5625, 2.3500, 8.2469)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E52 #39521E
analogous
#1E1F52 #371E52 #511E52
triadic
#371E52 #52371E #1E5237
tetradic
#371E52 #521E1F #39521E #1E5251
square
#371E52 #521E1F #39521E #1E5251
split-complementary
#371E52 #52511E #1F521E
monochromatic
#0F0816 #190E25 #371E52 #552E7F #733FAC

Accessibility & contrast

On white

14.29
#371E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E52
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E52#FFFFFF#000000##FFFFFF
##371E521.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#072A54
Deuteranopia (green-blind)
#122A51
Tritanopia (blue-blind)
#322834
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371e52;
/* rgb */ color: rgb(55, 30, 82);
/* oklch */ color: oklch(29.7% 0.093 303.4);
Tailwind
colors: {
  custom: {
    50: '#705b83',
    500: '#371e52',
    950: '#000000',
  },
}
SCSS
$custom: #371e52;
$custom-light: #705b83;
$custom-dark: #000000;
JSON
{
  "hex": "#371e52",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 82
  },
  "hsl": {
    "h": 268.846,
    "s": 46.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.29668,
    "c": 0.09255,
    "h": 303.4
  },
  "luminance": 0.0235
}

Semantic roles & 50–950 ramp

primary
#371E52
secondary
#678745
accent
#D65296
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040A
muted
#7B797C

Preview Lab

Preview with #371E52

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

Preview Lab → · Contrast checker → · Palette generator →

#371E52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva