#370B52#370B52

#370B52 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.120 H 308.2°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#370B52
RGBrgb(55, 11, 82)
HSLhsl(277, 76%, 18%)
HSVhsv(277, 87%, 32%)
CMYKcmyk(32.9%, 86.6%, 0%, 67.8%)
CIE-LABlab(13.60, 34.18, -33.20)
CIE-LCHlch(13.60, 47.65, 315.84°)
OKLaboklab(27.07% 0.0742 -0.0944)
OKLCHoklch(27.07% 0.12 308.2)
XYZxyz(3.2179, 1.6608, 8.1321)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B52 #26520B
analogous
#130B52 #370B52 #520B49
triadic
#370B52 #52370B #0B5237
tetradic
#370B52 #52130B #26520B #0B4952
square
#370B52 #52130B #26520B #0B4952
split-complementary
#370B52 #49520B #0B5213
monochromatic
#12041B #13041C #370B52 #5B1288 #7F19BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##370B52#FFFFFF#000000##FFFFFF
##370B521.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)
#002154
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#331D2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370b52;
/* rgb */ color: rgb(55, 11, 82);
/* oklch */ color: oklch(27.1% 0.120 308.2);
Tailwind
colors: {
  custom: {
    50: '#715083',
    500: '#370b52',
    950: '#000000',
  },
}
SCSS
$custom: #370b52;
$custom-light: #715083;
$custom-dark: #000000;
JSON
{
  "hex": "#370b52",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 82
  },
  "hsl": {
    "h": 277.183,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27067,
    "c": 0.12005,
    "h": 308.2
  },
  "luminance": 0.01661
}

Semantic roles & 50–950 ramp

primary
#370B52
secondary
#518E2B
accent
#F3357D
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370B52

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

Preview Lab → · Contrast checker → · Palette generator →

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