#370F76#370F76

#370F76 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.156 H 292.0°. Best body text is #FFFFFF at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#370F76
RGBrgb(55, 15, 118)
HSLhsl(263, 77%, 26%)
HSVhsv(263, 87%, 46%)
CMYKcmyk(53.4%, 87.3%, 0%, 53.7%)
CIE-LABlab(17.74, 42.09, -50.24)
CIE-LCHlch(17.74, 65.54, 309.95°)
OKLaboklab(31.04% 0.0582 -0.1444)
OKLCHoklch(31.04% 0.156 292)
XYZxyz(5.0155, 2.4617, 17.3469)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F76 #4E760F
analogous
#0F1A76 #370F76 #6A0F76
triadic
#370F76 #76370F #0F7637
tetradic
#370F76 #760F1A #4E760F #0F766A
square
#370F76 #760F1A #4E760F #0F766A
split-complementary
#370F76 #766A0F #1A760F
monochromatic
#0D031B #1E0840 #370F76 #5016AC #6A1DE2

Accessibility & contrast

On white

14.07
#370F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#370F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F76
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F76#FFFFFF#000000##FFFFFF
##370F761.0014.071.4914.07
#FFFFFF14.071.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#212F44
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #370f76;
/* rgb */ color: rgb(55, 15, 118);
/* oklch */ color: oklch(31.0% 0.156 292.0);
Tailwind
colors: {
  custom: {
    50: '#76559f',
    500: '#370f76',
    950: '#000000',
  },
}
SCSS
$custom: #370f76;
$custom-light: #76559f;
$custom-dark: #000000;
JSON
{
  "hex": "#370f76",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 263.301,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3104,
    "c": 0.15568,
    "h": 292
  },
  "luminance": 0.02462
}

Semantic roles & 50–950 ramp

primary
#370F76
secondary
#7EAD33
accent
#F434A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #370F76

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

Preview Lab → · Contrast checker → · Palette generator →

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