#36177F#36177F

#36177F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.159 H 287.5°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#36177F
RGBrgb(54, 23, 127)
HSLhsl(258, 69%, 29%)
HSVhsv(258, 82%, 50%)
CMYKcmyk(57.5%, 81.9%, 0%, 50.2%)
CIE-LABlab(19.76, 41.09, -52.68)
CIE-LCHlch(19.76, 66.81, 307.95°)
OKLaboklab(32.69% 0.0479 -0.1516)
OKLCHoklch(32.69% 0.159 287.5)
XYZxyz(5.6573, 2.9291, 20.3418)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36177F #607F17
analogous
#172C7F #36177F #6A177F
triadic
#36177F #7F3617 #177F36
tetradic
#36177F #7F172C #607F17 #177F6A
square
#36177F #7F172C #607F17 #177F6A
split-complementary
#36177F #7F6A17 #2C7F17
monochromatic
#0B051A #200E4B #36177F #4C20B3 #6736DB

Accessibility & contrast

On white

13.24
#36177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#36177F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36177F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36177F#FFFFFF#000000##FFFFFF
##36177F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#15364B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #36177f;
/* rgb */ color: rgb(54, 23, 127);
/* oklch */ color: oklch(32.7% 0.159 287.5);
Tailwind
colors: {
  custom: {
    50: '#7759a5',
    500: '#36177f',
    950: '#000000',
  },
}
SCSS
$custom: #36177f;
$custom-light: #7759a5;
$custom-dark: #000000;
JSON
{
  "hex": "#36177f",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 257.885,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32692,
    "c": 0.15904,
    "h": 287.5
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#36177F
secondary
#91B43E
accent
#EC3CB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36177F

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

Preview Lab → · Contrast checker → · Palette generator →

#36177F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva