#370F6A#370F6A

#370F6A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.142 H 296.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#370F6A
RGBrgb(55, 15, 106)
HSLhsl(266, 75%, 24%)
HSVhsv(266, 86%, 42%)
CMYKcmyk(48.1%, 85.8%, 0%, 58.4%)
CIE-LABlab(16.48, 38.83, -44.54)
CIE-LCHlch(16.48, 59.08, 311.08°)
OKLaboklab(29.78% 0.0629 -0.1277)
OKLCHoklch(29.78% 0.142 296.2)
XYZxyz(4.3472, 2.1944, 13.8274)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F6A #426A0F
analogous
#0F146A #370F6A #640F6A
triadic
#370F6A #6A370F #0F6A37
tetradic
#370F6A #6A0F14 #426A0F #0F6A64
square
#370F6A #6A0F14 #426A0F #0F6A64
split-complementary
#370F6A #6A640F #146A0F
monochromatic
#0E041B #1B0734 #370F6A #5317A0 #6F1ED5

Accessibility & contrast

On white

14.60
#370F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#370F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F6A
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F6A#FFFFFF#000000##FFFFFF
##370F6A1.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296C
Deuteranopia (green-blind)
#002768
Tritanopia (blue-blind)
#292A3D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #370f6a;
/* rgb */ color: rgb(55, 15, 106);
/* oklch */ color: oklch(29.8% 0.142 296.2);
Tailwind
colors: {
  custom: {
    50: '#745496',
    500: '#370f6a',
    950: '#000000',
  },
}
SCSS
$custom: #370f6a;
$custom-light: #745496;
$custom-dark: #000000;
JSON
{
  "hex": "#370f6a",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 266.374,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29784,
    "c": 0.14233,
    "h": 296.2
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#370F6A
secondary
#71A232
accent
#F2369F
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #370F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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