#36175B#36175B

#36175B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.115 H 300.1°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#36175B
RGBrgb(54, 23, 91)
HSLhsl(267, 60%, 22%)
HSVhsv(267, 75%, 36%)
CMYKcmyk(40.7%, 74.7%, 0%, 64.3%)
CIE-LABlab(16.27, 30.61, -34.95)
CIE-LCHlch(16.27, 46.46, 311.22°)
OKLaboklab(29.17% 0.0578 -0.0996)
OKLCHoklch(29.17% 0.115 300.1)
XYZxyz(3.7156, 2.1524, 10.1152)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36175B #3C5B17
analogous
#171A5B #36175B #58175B
triadic
#36175B #5B3617 #175B36
tetradic
#36175B #5B171A #3C5B17 #175B58
square
#36175B #5B171A #3C5B17 #175B58
split-complementary
#36175B #5B5817 #1A5B17
monochromatic
#0E0618 #190B2A #36175B #53238C #7030BD

Accessibility & contrast

On white

14.68
#36175B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#36175B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36175B
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36175B#FFFFFF#000000##FFFFFF
##36175B1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#2E2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36175b;
/* rgb */ color: rgb(54, 23, 91);
/* oklch */ color: oklch(29.2% 0.115 300.1);
Tailwind
colors: {
  custom: {
    50: '#71578a',
    500: '#36175b',
    950: '#000000',
  },
}
SCSS
$custom: #36175b;
$custom-light: #71578a;
$custom-dark: #000000;
JSON
{
  "hex": "#36175b",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 91
  },
  "hsl": {
    "h": 267.353,
    "s": 59.649,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2917,
    "c": 0.11521,
    "h": 300.1
  },
  "luminance": 0.02152
}

Semantic roles & 50–950 ramp

primary
#36175B
secondary
#6B923C
accent
#E3459B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36175B

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

Preview Lab → · Contrast checker → · Palette generator →

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