#370C4F#370C4F

#370C4F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.9% C 0.116 H 309.8°. Best body text is #FFFFFF at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#370C4F
RGBrgb(55, 12, 79)
HSLhsl(279, 74%, 18%)
HSVhsv(279, 85%, 31%)
CMYKcmyk(30.4%, 84.8%, 0%, 69%)
CIE-LABlab(13.47, 33.03, -31.35)
CIE-LCHlch(13.47, 45.54, 316.50°)
OKLaboklab(26.9% 0.074 -0.0889)
OKLCHoklch(26.9% 0.116 309.8)
XYZxyz(3.1180, 1.6397, 7.5479)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C4F #244F0C
analogous
#150C4F #370C4F #4F0C45
triadic
#370C4F #4F370C #0C4F37
tetradic
#370C4F #4F150C #244F0C #0C454F
square
#370C4F #4F150C #244F0C #0C454F
split-complementary
#370C4F #454F0C #0C4F15
monochromatic
#12041B #12041B #370C4F #5C1484 #811CB9

Accessibility & contrast

On white

15.81
#370C4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C4F
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C4F#FFFFFF#000000##FFFFFF
##370C4F1.0015.811.3315.81
#FFFFFF15.811.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370c4f;
/* rgb */ color: rgb(55, 12, 79);
/* oklch */ color: oklch(26.9% 0.116 309.8);
Tailwind
colors: {
  custom: {
    50: '#715081',
    500: '#370c4f',
    950: '#000000',
  },
}
SCSS
$custom: #370c4f;
$custom-light: #715081;
$custom-dark: #000000;
JSON
{
  "hex": "#370c4f",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 79
  },
  "hsl": {
    "h": 278.507,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26896,
    "c": 0.11572,
    "h": 309.8
  },
  "luminance": 0.0164
}

Semantic roles & 50–950 ramp

primary
#370C4F
secondary
#4E8B2C
accent
#F0387A
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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