#370E4D#370E4D

#370E4D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.111 H 310.7°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#370E4D
RGBrgb(55, 14, 77)
HSLhsl(279, 69%, 18%)
HSVhsv(279, 82%, 30%)
CMYKcmyk(28.6%, 81.8%, 0%, 69.8%)
CIE-LABlab(13.60, 31.66, -29.76)
CIE-LCHlch(13.60, 43.45, 316.78°)
OKLaboklab(26.94% 0.0724 -0.0843)
OKLCHoklch(26.94% 0.111 310.7)
XYZxyz(3.0719, 1.6622, 7.1788)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E4D #244D0E
analogous
#180E4D #370E4D #4D0E43
triadic
#370E4D #4D370E #0E4D37
tetradic
#370E4D #4D180E #244D0E #0E434D
square
#370E4D #4D180E #244D0E #0E434D
split-complementary
#370E4D #434D0E #0E4D18
monochromatic
#12051A #12051A #370E4D #5C1781 #8121B5

Accessibility & contrast

On white

15.76
#370E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#370E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370E4D
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E4D#FFFFFF#000000##FFFFFF
##370E4D1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#03234C
Tritanopia (blue-blind)
#341D2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370e4d;
/* rgb */ color: rgb(55, 14, 77);
/* oklch */ color: oklch(26.9% 0.111 310.7);
Tailwind
colors: {
  custom: {
    50: '#71517f',
    500: '#370e4d',
    950: '#000000',
  },
}
SCSS
$custom: #370e4d;
$custom-light: #71517f;
$custom-dark: #000000;
JSON
{
  "hex": "#370e4d",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 279.048,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26936,
    "c": 0.11111,
    "h": 310.7
  },
  "luminance": 0.01662
}

Semantic roles & 50–950 ramp

primary
#370E4D
secondary
#4E882F
accent
#EC3C79
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#370E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva