#36176B#36176B

#36176B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.135 H 293.6°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#36176B
RGBrgb(54, 23, 107)
HSLhsl(262, 65%, 25%)
HSVhsv(262, 79%, 42%)
CMYKcmyk(49.5%, 78.5%, 0%, 58%)
CIE-LABlab(17.73, 35.24, -43.14)
CIE-LCHlch(17.73, 55.70, 309.24°)
OKLaboklab(30.66% 0.0541 -0.1237)
OKLCHoklch(30.66% 0.135 293.6)
XYZxyz(4.4808, 2.4585, 14.1455)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36176B #4C6B17
analogous
#17226B #36176B #60176B
triadic
#36176B #6B3617 #176B36
tetradic
#36176B #6B1722 #4C6B17 #176B60
square
#36176B #6B1722 #4C6B17 #176B60
split-complementary
#36176B #6B6017 #226B17
monochromatic
#0D0519 #1D0C39 #36176B #4F229D #692DD0

Accessibility & contrast

On white

14.08
#36176B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#36176B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36176B
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36176B#FFFFFF#000000##FFFFFF
##36176B1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36176b;
/* rgb */ color: rgb(54, 23, 107);
/* oklch */ color: oklch(30.7% 0.135 293.6);
Tailwind
colors: {
  custom: {
    50: '#735896',
    500: '#36176b',
    950: '#000000',
  },
}
SCSS
$custom: #36176b;
$custom-light: #735896;
$custom-dark: #000000;
JSON
{
  "hex": "#36176b",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 107
  },
  "hsl": {
    "h": 262.143,
    "s": 64.615,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30659,
    "c": 0.13502,
    "h": 293.6
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#36176B
secondary
#7CA13D
accent
#E840AA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36176B

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

Preview Lab → · Contrast checker → · Palette generator →

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