#36176E#36176E

#36176E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.139 H 292.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#36176E
RGBrgb(54, 23, 110)
HSLhsl(261, 65%, 26%)
HSVhsv(261, 79%, 43%)
CMYKcmyk(50.9%, 79.1%, 0%, 56.9%)
CIE-LABlab(18.02, 36.11, -44.62)
CIE-LCHlch(18.02, 57.40, 308.99°)
OKLaboklab(30.95% 0.0533 -0.128)
OKLCHoklch(30.95% 0.139 292.6)
XYZxyz(4.6414, 2.5227, 14.9912)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36176E #4F6E17
analogous
#17236E #36176E #61176E
triadic
#36176E #6E3617 #176E36
tetradic
#36176E #6E1723 #4F6E17 #176E61
square
#36176E #6E1723 #4F6E17 #176E61
split-complementary
#36176E #6E6117 #236E17
monochromatic
#0C0519 #1D0C3B #36176E #4F22A1 #682CD3

Accessibility & contrast

On white

13.96
#36176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#36176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36176E
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36176E#FFFFFF#000000##FFFFFF
##36176E1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#242F41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #36176e;
/* rgb */ color: rgb(54, 23, 110);
/* oklch */ color: oklch(31.0% 0.139 292.6);
Tailwind
colors: {
  custom: {
    50: '#745898',
    500: '#36176e',
    950: '#000000',
  },
}
SCSS
$custom: #36176e;
$custom-light: #745898;
$custom-dark: #000000;
JSON
{
  "hex": "#36176e",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 261.379,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30953,
    "c": 0.13868,
    "h": 292.6
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#36176E
secondary
#7FA43D
accent
#E83FAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36176E

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

Preview Lab → · Contrast checker → · Palette generator →

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