#371F65#371F65

#371F65 is a dark, moderate violet. Relative luminance 0.027; OKLCH L 31.4% C 0.117 H 294.4°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#371F65
RGBrgb(55, 31, 101)
HSLhsl(261, 53%, 26%)
HSVhsv(261, 69%, 40%)
CMYKcmyk(45.5%, 69.3%, 0%, 60.4%)
CIE-LABlab(18.94, 29.14, -37.24)
CIE-LCHlch(18.94, 47.28, 308.04°)
OKLaboklab(31.38% 0.0484 -0.1064)
OKLCHoklch(31.38% 0.117 294.4)
XYZxyz(4.4139, 2.7317, 12.6041)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371F65 #4D651F
analogous
#1F2A65 #371F65 #5A1F65
triadic
#371F65 #65371F #1F6537
tetradic
#371F65 #651F2A #4D651F #1F655A
square
#371F65 #651F2A #4D651F #1F655A
split-complementary
#371F65 #655A1F #2A651F
monochromatic
#0D0717 #1D1136 #371F65 #502D94 #6A3CC3

Accessibility & contrast

On white

13.58
#371F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371F65
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371F65#FFFFFF#000000##FFFFFF
##371F651.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#2A2F3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #371f65;
/* rgb */ color: rgb(55, 31, 101);
/* oklch */ color: oklch(31.4% 0.117 294.4);
Tailwind
colors: {
  custom: {
    50: '#725c91',
    500: '#371f65',
    950: '#000000',
  },
}
SCSS
$custom: #371f65;
$custom-light: #725c91;
$custom-dark: #000000;
JSON
{
  "hex": "#371f65",
  "rgb": {
    "r": 55,
    "g": 31,
    "b": 101
  },
  "hsl": {
    "h": 260.571,
    "s": 53.03,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31379,
    "c": 0.11685,
    "h": 294.4
  },
  "luminance": 0.02732
}

Semantic roles & 50–950 ramp

primary
#371F65
secondary
#7D9946
accent
#DC4BAB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #371F65

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

Preview Lab → · Contrast checker → · Palette generator →

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