#370D5D#370D5D

#370D5D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.130 H 302.1°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#370D5D
RGBrgb(55, 13, 93)
HSLhsl(272, 75%, 21%)
HSVhsv(272, 86%, 36%)
CMYKcmyk(40.9%, 86%, 0%, 63.5%)
CIE-LABlab(14.90, 36.18, -38.51)
CIE-LCHlch(14.90, 52.84, 313.22°)
OKLaboklab(28.3% 0.0691 -0.11)
OKLCHoklch(28.3% 0.13 302.1)
XYZxyz(3.6948, 1.8904, 10.5240)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D5D #335D0D
analogous
#0F0D5D #370D5D #5D0D5B
triadic
#370D5D #5D370D #0D5D37
tetradic
#370D5D #5D0F0D #335D0D #0D5B5D
square
#370D5D #5D0F0D #335D0D #0D5B5D
split-complementary
#370D5D #5B5D0D #0D5D0F
monochromatic
#10041B #170527 #370D5D #571593 #771CC8

Accessibility & contrast

On white

15.24
#370D5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#370D5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D5D
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D5D#FFFFFF#000000##FFFFFF
##370D5D1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00255B
Tritanopia (blue-blind)
#2F2335
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370d5d;
/* rgb */ color: rgb(55, 13, 93);
/* oklch */ color: oklch(28.3% 0.130 302.1);
Tailwind
colors: {
  custom: {
    50: '#73528c',
    500: '#370d5d',
    950: '#000000',
  },
}
SCSS
$custom: #370d5d;
$custom-light: #73528c;
$custom-dark: #000000;
JSON
{
  "hex": "#370d5d",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 93
  },
  "hsl": {
    "h": 271.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28296,
    "c": 0.12986,
    "h": 302.1
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#370D5D
secondary
#60972F
accent
#F2368F
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #370D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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