#36166A#36166A

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

Color values

HEX#36166A
RGBrgb(54, 22, 106)
HSLhsl(263, 66%, 25%)
HSVhsv(263, 79%, 42%)
CMYKcmyk(49.1%, 79.2%, 0%, 58.4%)
CIE-LABlab(17.45, 35.46, -42.94)
CIE-LCHlch(17.45, 55.69, 309.55°)
OKLaboklab(30.44% 0.0553 -0.1231)
OKLCHoklch(30.44% 0.135 294.2)
XYZxyz(4.4090, 2.3986, 13.8635)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36166A #4A6A16
analogous
#16206A #36166A #60166A
triadic
#36166A #6A3616 #166A36
tetradic
#36166A #6A1620 #4A6A16 #166A60
square
#36166A #6A1620 #4A6A16 #166A60
split-complementary
#36166A #6A6016 #206A16
monochromatic
#0D0519 #1C0B37 #36166A #50219D #6A2BCF

Accessibility & contrast

On white

14.19
#36166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#36166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36166A
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36166A#FFFFFF#000000##FFFFFF
##36166A1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36166a;
/* rgb */ color: rgb(54, 22, 106);
/* oklch */ color: oklch(30.4% 0.135 294.2);
Tailwind
colors: {
  custom: {
    50: '#735795',
    500: '#36166a',
    950: '#000000',
  },
}
SCSS
$custom: #36166a;
$custom-light: #735795;
$custom-dark: #000000;
JSON
{
  "hex": "#36166a",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 262.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30435,
    "c": 0.13497,
    "h": 294.2
  },
  "luminance": 0.02399
}

Semantic roles & 50–950 ramp

primary
#36166A
secondary
#7AA03B
accent
#E93FA8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36166A

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

Preview Lab → · Contrast checker → · Palette generator →

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