#371E69#371E69

#371E69 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.6% C 0.124 H 293.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#371E69
RGBrgb(55, 30, 105)
HSLhsl(260, 56%, 26%)
HSVhsv(260, 71%, 41%)
CMYKcmyk(47.6%, 71.4%, 0%, 58.8%)
CIE-LABlab(19.06, 30.95, -39.66)
CIE-LCHlch(19.06, 50.31, 307.97°)
OKLaboklab(31.57% 0.0489 -0.1135)
OKLCHoklch(31.57% 0.124 293.3)
XYZxyz(4.5889, 2.7606, 13.6529)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371E69 #50691E
analogous
#1E2B69 #371E69 #5D1E69
triadic
#371E69 #69371E #1E6937
tetradic
#371E69 #691E2B #50691E #1E695D
square
#371E69 #691E2B #50691E #1E695D
split-complementary
#371E69 #695D1E #2B691E
monochromatic
#0C0718 #1E1039 #371E69 #502C99 #693BC7

Accessibility & contrast

On white

13.53
#371E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#371E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371E69
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371E69#FFFFFF#000000##FFFFFF
##371E691.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#293041
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371e69;
/* rgb */ color: rgb(55, 30, 105);
/* oklch */ color: oklch(31.6% 0.124 293.3);
Tailwind
colors: {
  custom: {
    50: '#735c95',
    500: '#371e69',
    950: '#000000',
  },
}
SCSS
$custom: #371e69;
$custom-light: #735c95;
$custom-dark: #000000;
JSON
{
  "hex": "#371e69",
  "rgb": {
    "r": 55,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 260,
    "s": 55.556,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31575,
    "c": 0.12358,
    "h": 293.3
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#371E69
secondary
#809E45
accent
#DF49AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371E69

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

Preview Lab → · Contrast checker → · Palette generator →

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