#36175A#36175A

#36175A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.114 H 300.6°. Best body text is #FFFFFF at 14.72:1 contrast (WCAG AA passes).

Color values

HEX#36175A
RGBrgb(54, 23, 90)
HSLhsl(268, 59%, 22%)
HSVhsv(268, 74%, 35%)
CMYKcmyk(40%, 74.4%, 0%, 64.7%)
CIE-LABlab(16.18, 30.33, -34.42)
CIE-LCHlch(16.18, 45.87, 311.38°)
OKLaboklab(29.08% 0.058 -0.0981)
OKLCHoklch(29.08% 0.114 300.6)
XYZxyz(3.6727, 2.1352, 9.8895)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36175A #3B5A17
analogous
#171A5A #36175A #58175A
triadic
#36175A #5A3617 #175A36
tetradic
#36175A #5A171A #3B5A17 #175A58
square
#36175A #5A171A #3B5A17 #175A58
split-complementary
#36175A #5A5817 #1A5A17
monochromatic
#0F0618 #190B29 #36175A #53238B #7030BB

Accessibility & contrast

On white

14.72
#36175A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36175A
14.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36175A#FFFFFF#000000##FFFFFF
##36175A1.0014.721.4314.72
#FFFFFF14.721.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002859
Tritanopia (blue-blind)
#2E2736
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #36175a;
/* rgb */ color: rgb(54, 23, 90);
/* oklch */ color: oklch(29.1% 0.114 300.6);
Tailwind
colors: {
  custom: {
    50: '#715789',
    500: '#36175a',
    950: '#000000',
  },
}
SCSS
$custom: #36175a;
$custom-light: #715789;
$custom-dark: #000000;
JSON
{
  "hex": "#36175a",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 90
  },
  "hsl": {
    "h": 267.761,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29081,
    "c": 0.11396,
    "h": 300.6
  },
  "luminance": 0.02135
}

Semantic roles & 50–950 ramp

primary
#36175A
secondary
#6A913C
accent
#E2459A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #36175A

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

Preview Lab → · Contrast checker → · Palette generator →

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