#370F4F#370F4F

#370F4F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.112 H 309.3°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#370F4F
RGBrgb(55, 15, 79)
HSLhsl(278, 68%, 18%)
HSVhsv(278, 81%, 31%)
CMYKcmyk(30.4%, 81%, 0%, 69%)
CIE-LABlab(13.93, 31.70, -30.60)
CIE-LCHlch(13.93, 44.06, 316.02°)
OKLaboklab(27.22% 0.0709 -0.0867)
OKLCHoklch(27.22% 0.112 309.3)
XYZxyz(3.1574, 1.7184, 7.5610)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F4F #274F0F
analogous
#170F4F #370F4F #4F0F47
triadic
#370F4F #4F370F #0F4F37
tetradic
#370F4F #4F170F #274F0F #0F474F
square
#370F4F #4F170F #274F0F #0F474F
split-complementary
#370F4F #474F0F #0F4F17
monochromatic
#12051A #13051C #370F4F #5B1982 #7F23B6

Accessibility & contrast

On white

15.63
#370F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F4F
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F4F#FFFFFF#000000##FFFFFF
##370F4F1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#01244E
Tritanopia (blue-blind)
#331E2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370f4f;
/* rgb */ color: rgb(55, 15, 79);
/* oklch */ color: oklch(27.2% 0.112 309.3);
Tailwind
colors: {
  custom: {
    50: '#715281',
    500: '#370f4f',
    950: '#000000',
  },
}
SCSS
$custom: #370f4f;
$custom-light: #715281;
$custom-dark: #000000;
JSON
{
  "hex": "#370f4f",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 277.5,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27223,
    "c": 0.11204,
    "h": 309.3
  },
  "luminance": 0.01718
}

Semantic roles & 50–950 ramp

primary
#370F4F
secondary
#528931
accent
#EB3D7E
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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