#370F4C#370F4C

#370F4C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.109 H 311.1°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#370F4C
RGBrgb(55, 15, 76)
HSLhsl(279, 67%, 18%)
HSVhsv(279, 80%, 30%)
CMYKcmyk(27.6%, 80.3%, 0%, 70.2%)
CIE-LABlab(13.68, 30.95, -28.94)
CIE-LCHlch(13.68, 42.37, 316.92°)
OKLaboklab(26.97% 0.0715 -0.0819)
OKLCHoklch(26.97% 0.109 311.1)
XYZxyz(3.0506, 1.6758, 6.9988)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F4C #244C0F
analogous
#180F4C #370F4C #4C0F42
triadic
#370F4C #4C370F #0F4C37
tetradic
#370F4C #4C180F #244C0F #0F424C
square
#370F4C #4C180F #244C0F #0F424C
split-complementary
#370F4C #424C0F #0F4C18
monochromatic
#12051A #12051A #370F4C #5C197F #8123B2

Accessibility & contrast

On white

15.73
#370F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F4C
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F4C#FFFFFF#000000##FFFFFF
##370F4C1.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#05244B
Tritanopia (blue-blind)
#341D2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370f4c;
/* rgb */ color: rgb(55, 15, 76);
/* oklch */ color: oklch(27.0% 0.109 311.1);
Tailwind
colors: {
  custom: {
    50: '#71527e',
    500: '#370f4c',
    950: '#000000',
  },
}
SCSS
$custom: #370f4c;
$custom-light: #71527e;
$custom-dark: #000000;
JSON
{
  "hex": "#370f4c",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 279.344,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26967,
    "c": 0.10869,
    "h": 311.1
  },
  "luminance": 0.01676
}

Semantic roles & 50–950 ramp

primary
#370F4C
secondary
#4E8631
accent
#EA3E79
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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