#37166F#37166F

#37166F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.141 H 293.2°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#37166F
RGBrgb(55, 22, 111)
HSLhsl(262, 67%, 26%)
HSVhsv(262, 80%, 44%)
CMYKcmyk(50.5%, 80.2%, 0%, 56.5%)
CIE-LABlab(18.07, 37.07, -45.18)
CIE-LCHlch(18.07, 58.44, 309.37°)
OKLaboklab(31.05% 0.0555 -0.1296)
OKLCHoklch(31.05% 0.141 293.2)
XYZxyz(4.7309, 2.5336, 15.2756)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37166F #4E6F16
analogous
#16216F #37166F #63166F
triadic
#37166F #6F3716 #166F37
tetradic
#37166F #6F1621 #4E6F16 #166F63
square
#37166F #6F1621 #4E6F16 #166F63
split-complementary
#37166F #6F6316 #216F16
monochromatic
#0D051A #1E0C3C #37166F #5020A2 #6A2BD5

Accessibility & contrast

On white

13.94
#37166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#37166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37166F
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37166F#FFFFFF#000000##FFFFFF
##37166F1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#252F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #37166f;
/* rgb */ color: rgb(55, 22, 111);
/* oklch */ color: oklch(31.0% 0.141 293.2);
Tailwind
colors: {
  custom: {
    50: '#755799',
    500: '#37166f',
    950: '#000000',
  },
}
SCSS
$custom: #37166f;
$custom-light: #755799;
$custom-dark: #000000;
JSON
{
  "hex": "#37166f",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 262.247,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31046,
    "c": 0.14103,
    "h": 293.2
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#37166F
secondary
#7EA53C
accent
#EA3EAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #37166F

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

Preview Lab → · Contrast checker → · Palette generator →

#37166F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva