#370F4D#370F4D

#370F4D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.110 H 310.5°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#370F4D
RGBrgb(55, 15, 77)
HSLhsl(279, 67%, 18%)
HSVhsv(279, 81%, 30%)
CMYKcmyk(28.6%, 80.5%, 0%, 69.8%)
CIE-LABlab(13.77, 31.20, -29.49)
CIE-LCHlch(13.77, 42.93, 316.61°)
OKLaboklab(27.05% 0.0713 -0.0835)
OKLCHoklch(27.05% 0.11 310.5)
XYZxyz(3.0857, 1.6898, 7.1833)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F4D #254D0F
analogous
#180F4D #370F4D #4D0F44
triadic
#370F4D #4D370F #0F4D37
tetradic
#370F4D #4D180F #254D0F #0F444D
square
#370F4D #4D180F #254D0F #0F444D
split-complementary
#370F4D #444D0F #0F4D18
monochromatic
#12051A #12051A #370F4D #5C1980 #8023B3

Accessibility & contrast

On white

15.70
#370F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#370F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F4D
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F4D#FFFFFF#000000##FFFFFF
##370F4D1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370f4d;
/* rgb */ color: rgb(55, 15, 77);
/* oklch */ color: oklch(27.1% 0.110 310.5);
Tailwind
colors: {
  custom: {
    50: '#71527f',
    500: '#370f4d',
    950: '#000000',
  },
}
SCSS
$custom: #370f4d;
$custom-light: #71527f;
$custom-dark: #000000;
JSON
{
  "hex": "#370f4d",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 278.71,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27051,
    "c": 0.10981,
    "h": 310.5
  },
  "luminance": 0.0169
}

Semantic roles & 50–950 ramp

primary
#370F4D
secondary
#4F8731
accent
#EA3E7B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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