#36175C#36175C

#36175C is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.3% C 0.116 H 299.7°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#36175C
RGBrgb(54, 23, 92)
HSLhsl(267, 60%, 23%)
HSVhsv(267, 75%, 36%)
CMYKcmyk(41.3%, 75%, 0%, 63.9%)
CIE-LABlab(16.35, 30.90, -35.48)
CIE-LCHlch(16.35, 47.04, 311.05°)
OKLaboklab(29.26% 0.0577 -0.1012)
OKLCHoklch(29.26% 0.116 299.7)
XYZxyz(3.7590, 2.1697, 10.3439)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36175C #3D5C17
analogous
#171A5C #36175C #59175C
triadic
#36175C #5C3617 #175C36
tetradic
#36175C #5C171A #3D5C17 #175C59
square
#36175C #5C171A #3D5C17 #175C59
split-complementary
#36175C #5C5917 #1A5C17
monochromatic
#0E0618 #190B2B #36175C #53238D #6F2FBE

Accessibility & contrast

On white

14.64
#36175C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36175C
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36175C#FFFFFF#000000##FFFFFF
##36175C1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00285B
Tritanopia (blue-blind)
#2D2837
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #36175c;
/* rgb */ color: rgb(54, 23, 92);
/* oklch */ color: oklch(29.3% 0.116 299.7);
Tailwind
colors: {
  custom: {
    50: '#71578b',
    500: '#36175c',
    950: '#000000',
  },
}
SCSS
$custom: #36175c;
$custom-light: #71578b;
$custom-dark: #000000;
JSON
{
  "hex": "#36175c",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 92
  },
  "hsl": {
    "h": 266.957,
    "s": 60,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.11646,
    "h": 299.7
  },
  "luminance": 0.0217
}

Semantic roles & 50–950 ramp

primary
#36175C
secondary
#6C933C
accent
#E3459C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #36175C

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

Preview Lab → · Contrast checker → · Palette generator →

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