#36166B#36166B

#36166B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.136 H 293.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#36166B
RGBrgb(54, 22, 107)
HSLhsl(263, 66%, 25%)
HSVhsv(263, 79%, 42%)
CMYKcmyk(49.5%, 79.4%, 0%, 58%)
CIE-LABlab(17.55, 35.75, -43.43)
CIE-LCHlch(17.55, 56.25, 309.46°)
OKLaboklab(30.53% 0.0551 -0.1245)
OKLCHoklch(30.53% 0.136 293.8)
XYZxyz(4.4613, 2.4195, 14.1390)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36166B #4B6B16
analogous
#16216B #36166B #60166B
triadic
#36166B #6B3616 #166B36
tetradic
#36166B #6B1621 #4B6B16 #166B60
square
#36166B #6B1621 #4B6B16 #166B60
split-complementary
#36166B #6B6016 #216B16
monochromatic
#0D0519 #1C0C38 #36166B #50209E #692BD1

Accessibility & contrast

On white

14.15
#36166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36166B
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36166B#FFFFFF#000000##FFFFFF
##36166B1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#262D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #36166b;
/* rgb */ color: rgb(54, 22, 107);
/* oklch */ color: oklch(30.5% 0.136 293.8);
Tailwind
colors: {
  custom: {
    50: '#735796',
    500: '#36166b',
    950: '#000000',
  },
}
SCSS
$custom: #36166b;
$custom-light: #735796;
$custom-dark: #000000;
JSON
{
  "hex": "#36166b",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 262.588,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30533,
    "c": 0.13617,
    "h": 293.8
  },
  "luminance": 0.0242
}

Semantic roles & 50–950 ramp

primary
#36166B
secondary
#7BA13B
accent
#E93FA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36166B

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

Preview Lab → · Contrast checker → · Palette generator →

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