#36166F#36166F

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

Color values

HEX#36166F
RGBrgb(54, 22, 111)
HSLhsl(262, 67%, 26%)
HSVhsv(262, 80%, 44%)
CMYKcmyk(51.4%, 80.2%, 0%, 56.5%)
CIE-LABlab(17.94, 36.91, -45.39)
CIE-LCHlch(17.94, 58.50, 309.11°)
OKLaboklab(30.93% 0.0539 -0.1303)
OKLCHoklch(30.93% 0.141 292.5)
XYZxyz(4.6767, 2.5056, 15.2731)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36166F #4F6F16
analogous
#16226F #36166F #62166F
triadic
#36166F #6F3616 #166F36
tetradic
#36166F #6F1622 #4F6F16 #166F62
square
#36166F #6F1622 #4F6F16 #166F62
split-complementary
#36166F #6F6216 #226F16
monochromatic
#0C051A #1D0C3C #36166F #4F20A2 #682BD5

Accessibility & contrast

On white

13.99
#36166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#36166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36166F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36166F#FFFFFF#000000##FFFFFF
##36166F1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36166f;
/* rgb */ color: rgb(54, 22, 111);
/* oklch */ color: oklch(30.9% 0.141 292.5);
Tailwind
colors: {
  custom: {
    50: '#745799',
    500: '#36166f',
    950: '#000000',
  },
}
SCSS
$custom: #36166f;
$custom-light: #745799;
$custom-dark: #000000;
JSON
{
  "hex": "#36166f",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 261.573,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.141,
    "h": 292.5
  },
  "luminance": 0.02506
}

Semantic roles & 50–950 ramp

primary
#36166F
secondary
#7FA53C
accent
#EA3EAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36166F

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

Preview Lab → · Contrast checker → · Palette generator →

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