#370E52#370E52

#370E52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.4% C 0.117 H 307.7°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#370E52
RGBrgb(55, 14, 82)
HSLhsl(276, 71%, 19%)
HSVhsv(276, 83%, 32%)
CMYKcmyk(32.9%, 82.9%, 0%, 67.8%)
CIE-LABlab(14.03, 32.92, -32.49)
CIE-LCHlch(14.03, 46.25, 315.38°)
OKLaboklab(27.37% 0.0713 -0.0923)
OKLCHoklch(27.37% 0.117 307.7)
XYZxyz(3.2553, 1.7355, 8.1445)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E52 #29520E
analogous
#150E52 #370E52 #520E4B
triadic
#370E52 #52370E #0E5237
tetradic
#370E52 #52150E #29520E #0E4B52
square
#370E52 #52150E #29520E #0E4B52
split-complementary
#370E52 #4B520E #0E5215
monochromatic
#12041A #14051E #370E52 #5A1786 #7D20BB

Accessibility & contrast

On white

15.59
#370E52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#370E52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370E52
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E52#FFFFFF#000000##FFFFFF
##370E521.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#331F2F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370e52;
/* rgb */ color: rgb(55, 14, 82);
/* oklch */ color: oklch(27.4% 0.117 307.7);
Tailwind
colors: {
  custom: {
    50: '#715283',
    500: '#370e52',
    950: '#000000',
  },
}
SCSS
$custom: #370e52;
$custom-light: #715283;
$custom-dark: #000000;
JSON
{
  "hex": "#370e52",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 82
  },
  "hsl": {
    "h": 276.176,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27374,
    "c": 0.11664,
    "h": 307.7
  },
  "luminance": 0.01735
}

Semantic roles & 50–950 ramp

primary
#370E52
secondary
#548C2F
accent
#EE3A81
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370E52

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

Preview Lab → · Contrast checker → · Palette generator →

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