#370D4F#370D4F

#370D4F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.115 H 309.6°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#370D4F
RGBrgb(55, 13, 79)
HSLhsl(278, 72%, 18%)
HSVhsv(278, 84%, 31%)
CMYKcmyk(30.4%, 83.5%, 0%, 69%)
CIE-LABlab(13.62, 32.61, -31.11)
CIE-LCHlch(13.62, 45.07, 316.35°)
OKLaboklab(27% 0.073 -0.0882)
OKLCHoklch(27% 0.115 309.6)
XYZxyz(3.1305, 1.6646, 7.5520)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D4F #254F0D
analogous
#160D4F #370D4F #4F0D46
triadic
#370D4F #4F370D #0D4F37
tetradic
#370D4F #4F160D #254F0D #0D464F
square
#370D4F #4F160D #254F0D #0D464F
split-complementary
#370D4F #464F0D #0D4F16
monochromatic
#12041A #12041A #370D4F #5C1684 #801EB8

Accessibility & contrast

On white

15.75
#370D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370D4F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D4F#FFFFFF#000000##FFFFFF
##370D4F1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#331D2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370d4f;
/* rgb */ color: rgb(55, 13, 79);
/* oklch */ color: oklch(27.0% 0.115 309.6);
Tailwind
colors: {
  custom: {
    50: '#715181',
    500: '#370d4f',
    950: '#000000',
  },
}
SCSS
$custom: #370d4f;
$custom-light: #715181;
$custom-dark: #000000;
JSON
{
  "hex": "#370d4f",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 278.182,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27,
    "c": 0.11455,
    "h": 309.6
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#370D4F
secondary
#4F8A2E
accent
#EE397B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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