#37105C#37105C

#37105C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.126 H 302.1°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).

Color values

HEX#37105C
RGBrgb(55, 16, 92)
HSLhsl(271, 70%, 21%)
HSVhsv(271, 83%, 36%)
CMYKcmyk(40.2%, 82.6%, 0%, 63.9%)
CIE-LABlab(15.25, 34.63, -37.26)
CIE-LCHlch(15.25, 50.87, 312.90°)
OKLaboklab(28.51% 0.0667 -0.1064)
OKLCHoklch(28.51% 0.126 302.1)
XYZxyz(3.6921, 1.9555, 10.3061)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37105C #355C10
analogous
#11105C #37105C #5C105B
triadic
#37105C #5C3710 #105C37
tetradic
#37105C #5C1110 #355C10 #105B5C
square
#37105C #5C1110 #355C10 #105B5C
split-complementary
#37105C #5B5C10 #105C11
monochromatic
#10051A #180728 #37105C #561990 #7522C4

Accessibility & contrast

On white

15.09
#37105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#37105C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37105C
15.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37105C#FFFFFF#000000##FFFFFF
##37105C1.0015.091.3915.09
#FFFFFF15.091.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2F2436
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #37105c;
/* rgb */ color: rgb(55, 16, 92);
/* oklch */ color: oklch(28.5% 0.126 302.1);
Tailwind
colors: {
  custom: {
    50: '#72538b',
    500: '#37105c',
    950: '#000000',
  },
}
SCSS
$custom: #37105c;
$custom-light: #72538b;
$custom-dark: #000000;
JSON
{
  "hex": "#37105c",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 270.789,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28511,
    "c": 0.12553,
    "h": 302.1
  },
  "luminance": 0.01956
}

Semantic roles & 50–950 ramp

primary
#37105C
secondary
#639533
accent
#ED3B92
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #37105C

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

Preview Lab → · Contrast checker → · Palette generator →

#37105C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva