#370C50#370C50

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

Color values

HEX#370C50
RGBrgb(55, 12, 80)
HSLhsl(278, 74%, 18%)
HSVhsv(278, 85%, 31%)
CMYKcmyk(31.2%, 85%, 0%, 68.6%)
CIE-LABlab(13.56, 33.28, -31.89)
CIE-LCHlch(13.56, 46.09, 316.22°)
OKLaboklab(26.99% 0.0738 -0.0905)
OKLCHoklch(26.99% 0.117 309.2)
XYZxyz(3.1547, 1.6544, 7.7410)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C50 #25500C
analogous
#150C50 #370C50 #500C47
triadic
#370C50 #50370C #0C5037
tetradic
#370C50 #50150C #25500C #0C4750
square
#370C50 #50150C #25500C #0C4750
split-complementary
#370C50 #47500C #0C5015
monochromatic
#12041B #12041B #370C50 #5C1485 #801CBA

Accessibility & contrast

On white

15.78
#370C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C50
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C50#FFFFFF#000000##FFFFFF
##370C501.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002152
Deuteranopia (green-blind)
#00234F
Tritanopia (blue-blind)
#331D2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370c50;
/* rgb */ color: rgb(55, 12, 80);
/* oklch */ color: oklch(27.0% 0.117 309.2);
Tailwind
colors: {
  custom: {
    50: '#715182',
    500: '#370c50',
    950: '#000000',
  },
}
SCSS
$custom: #370c50;
$custom-light: #715182;
$custom-dark: #000000;
JSON
{
  "hex": "#370c50",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 80
  },
  "hsl": {
    "h": 277.941,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26985,
    "c": 0.11681,
    "h": 309.2
  },
  "luminance": 0.01654
}

Semantic roles & 50–950 ramp

primary
#370C50
secondary
#4F8B2C
accent
#F1377B
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370C50

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

Preview Lab → · Contrast checker → · Palette generator →

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