#370F56#370F56

#370F56 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.8% C 0.120 H 305.3°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#370F56
RGBrgb(55, 15, 86)
HSLhsl(274, 70%, 20%)
HSVhsv(274, 83%, 34%)
CMYKcmyk(36%, 82.6%, 0%, 66.3%)
CIE-LABlab(14.55, 33.50, -34.37)
CIE-LCHlch(14.55, 48.00, 314.26°)
OKLaboklab(27.85% 0.0693 -0.0979)
OKLCHoklch(27.85% 0.12 305.3)
XYZxyz(3.4257, 1.8258, 8.9742)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F56 #2E560F
analogous
#140F56 #370F56 #560F52
triadic
#370F56 #56370F #0F5637
tetradic
#370F56 #56140F #2E560F #0F5256
square
#370F56 #56140F #2E560F #0F5256
split-complementary
#370F56 #52560F #0F5614
monochromatic
#11051A #160622 #370F56 #58188A #7A21BE

Accessibility & contrast

On white

15.38
#370F56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#370F56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F56
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F56#FFFFFF#000000##FFFFFF
##370F561.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#312132
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #370f56;
/* rgb */ color: rgb(55, 15, 86);
/* oklch */ color: oklch(27.8% 0.120 305.3);
Tailwind
colors: {
  custom: {
    50: '#725286',
    500: '#370f56',
    950: '#000000',
  },
}
SCSS
$custom: #370f56;
$custom-light: #725286;
$custom-dark: #000000;
JSON
{
  "hex": "#370f56",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 86
  },
  "hsl": {
    "h": 273.803,
    "s": 70.297,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27845,
    "c": 0.11991,
    "h": 305.3
  },
  "luminance": 0.01826
}

Semantic roles & 50–950 ramp

primary
#370F56
secondary
#5A9031
accent
#ED3B89
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370F56

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

Preview Lab → · Contrast checker → · Palette generator →

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