#37107E#37107E

#37107E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 32.0% C 0.164 H 289.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#37107E
RGBrgb(55, 16, 126)
HSLhsl(261, 77%, 28%)
HSVhsv(261, 87%, 49%)
CMYKcmyk(56.3%, 87.3%, 0%, 50.6%)
CIE-LABlab(18.75, 43.90, -53.70)
CIE-LCHlch(18.75, 69.36, 309.27°)
OKLaboklab(31.99% 0.0544 -0.1545)
OKLCHoklch(31.99% 0.164 289.4)
XYZxyz(5.5256, 2.6889, 19.9625)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37107E #577E10
analogous
#10207E #37107E #6E107E
triadic
#37107E #7E3710 #107E37
tetradic
#37107E #7E1020 #577E10 #107E6E
square
#37107E #7E1020 #577E10 #107E6E
split-complementary
#37107E #7E6E10 #207E10
monochromatic
#0C031B #1F0948 #37107E #4F17B4 #6925E3

Accessibility & contrast

On white

13.66
#37107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#37107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37107E
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37107E#FFFFFF#000000##FFFFFF
##37107E1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003081
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#1A3349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #37107e;
/* rgb */ color: rgb(55, 16, 126);
/* oklch */ color: oklch(32.0% 0.164 289.4);
Tailwind
colors: {
  custom: {
    50: '#7756a4',
    500: '#37107e',
    950: '#000000',
  },
}
SCSS
$custom: #37107e;
$custom-light: #7756a4;
$custom-dark: #000000;
JSON
{
  "hex": "#37107e",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 261.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31993,
    "c": 0.1638,
    "h": 289.4
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#37107E
secondary
#87B436
accent
#F434B0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A030F
muted
#7C787F

Preview Lab

Preview with #37107E

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

Preview Lab → · Contrast checker → · Palette generator →

#37107E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva