#371B69#371B69

#371B69 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.128 H 294.2°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#371B69
RGBrgb(55, 27, 105)
HSLhsl(262, 59%, 26%)
HSVhsv(262, 74%, 41%)
CMYKcmyk(47.6%, 74.3%, 0%, 58.8%)
CIE-LABlab(18.43, 32.68, -40.67)
CIE-LCHlch(18.43, 52.18, 308.78°)
OKLaboklab(31.13% 0.0522 -0.1164)
OKLCHoklch(31.13% 0.128 294.2)
XYZxyz(4.5166, 2.6159, 13.6288)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371B69 #4D691B
analogous
#1B2669 #371B69 #5E1B69
triadic
#371B69 #69371B #1B6937
tetradic
#371B69 #691B26 #4D691B #1B695E
square
#371B69 #691B26 #4D691B #1B695E
split-complementary
#371B69 #695E1B #26691B
monochromatic
#0D0618 #1D0E38 #371B69 #50289A #6A34CA

Accessibility & contrast

On white

13.79
#371B69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371B69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371B69
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371B69#FFFFFF#000000##FFFFFF
##371B691.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#292F40
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371b69;
/* rgb */ color: rgb(55, 27, 105);
/* oklch */ color: oklch(31.1% 0.128 294.2);
Tailwind
colors: {
  custom: {
    50: '#735a95',
    500: '#371b69',
    950: '#000000',
  },
}
SCSS
$custom: #371b69;
$custom-light: #735a95;
$custom-dark: #000000;
JSON
{
  "hex": "#371b69",
  "rgb": {
    "r": 55,
    "g": 27,
    "b": 105
  },
  "hsl": {
    "h": 261.538,
    "s": 59.091,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31129,
    "c": 0.12762,
    "h": 294.2
  },
  "luminance": 0.02616
}

Semantic roles & 50–950 ramp

primary
#371B69
secondary
#7D9E42
accent
#E246AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371B69

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

Preview Lab → · Contrast checker → · Palette generator →

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