#37166A#37166A

#37166A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.135 H 295.0°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#37166A
RGBrgb(55, 22, 106)
HSLhsl(264, 66%, 25%)
HSVhsv(264, 79%, 42%)
CMYKcmyk(48.1%, 79.2%, 0%, 58.4%)
CIE-LABlab(17.58, 35.63, -42.72)
CIE-LCHlch(17.58, 55.63, 309.83°)
OKLaboklab(30.56% 0.057 -0.1224)
OKLCHoklch(30.56% 0.135 295)
XYZxyz(4.4633, 2.4265, 13.8661)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37166A #496A16
analogous
#161F6A #37166A #61166A
triadic
#37166A #6A3716 #166A37
tetradic
#37166A #6A161F #496A16 #166A61
square
#37166A #6A161F #496A16 #166A61
split-complementary
#37166A #6A6116 #1F6A16
monochromatic
#0D0519 #1D0B37 #37166A #51219D #6C2BCF

Accessibility & contrast

On white

14.14
#37166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#37166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37166A
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37166A#FFFFFF#000000##FFFFFF
##37166A1.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#282D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #37166a;
/* rgb */ color: rgb(55, 22, 106);
/* oklch */ color: oklch(30.6% 0.135 295.0);
Tailwind
colors: {
  custom: {
    50: '#745795',
    500: '#37166a',
    950: '#000000',
  },
}
SCSS
$custom: #37166a;
$custom-light: #745795;
$custom-dark: #000000;
JSON
{
  "hex": "#37166a",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 263.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30556,
    "c": 0.13504,
    "h": 295
  },
  "luminance": 0.02427
}

Semantic roles & 50–950 ramp

primary
#37166A
secondary
#79A03B
accent
#E93FA6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #37166A

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

Preview Lab → · Contrast checker → · Palette generator →

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