#36176A#36176A

#36176A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.134 H 294.0°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#36176A
RGBrgb(54, 23, 106)
HSLhsl(262, 64%, 25%)
HSVhsv(262, 78%, 42%)
CMYKcmyk(49.1%, 78.3%, 0%, 58.4%)
CIE-LABlab(17.63, 34.95, -42.64)
CIE-LCHlch(17.63, 55.13, 309.34°)
OKLaboklab(30.56% 0.0544 -0.1222)
OKLCHoklch(30.56% 0.134 294)
XYZxyz(4.4285, 2.4375, 13.8700)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36176A #4B6A17
analogous
#17216A #36176A #60176A
triadic
#36176A #6A3617 #176A36
tetradic
#36176A #6A1721 #4B6A17 #176A60
square
#36176A #6A1721 #4B6A17 #176A60
split-complementary
#36176A #6A6017 #216A17
monochromatic
#0D0519 #1C0C38 #36176A #50229C #692DCF

Accessibility & contrast

On white

14.12
#36176A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36176A
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36176A#FFFFFF#000000##FFFFFF
##36176A1.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #36176a;
/* rgb */ color: rgb(54, 23, 106);
/* oklch */ color: oklch(30.6% 0.134 294.0);
Tailwind
colors: {
  custom: {
    50: '#735795',
    500: '#36176a',
    950: '#000000',
  },
}
SCSS
$custom: #36176a;
$custom-light: #735795;
$custom-dark: #000000;
JSON
{
  "hex": "#36176a",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 106
  },
  "hsl": {
    "h": 262.41,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30562,
    "c": 0.1338,
    "h": 294
  },
  "luminance": 0.02438
}

Semantic roles & 50–950 ramp

primary
#36176A
secondary
#7BA03D
accent
#E740A9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #36176A

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

Preview Lab → · Contrast checker → · Palette generator →

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