#36176F#36176F

#36176F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.140 H 292.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#36176F
RGBrgb(54, 23, 111)
HSLhsl(261, 66%, 26%)
HSVhsv(261, 79%, 44%)
CMYKcmyk(51.4%, 79.3%, 0%, 56.5%)
CIE-LABlab(18.12, 36.41, -45.11)
CIE-LCHlch(18.12, 57.97, 308.91°)
OKLaboklab(31.05% 0.053 -0.1295)
OKLCHoklch(31.05% 0.14 292.3)
XYZxyz(4.6962, 2.5446, 15.2796)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36176F #506F17
analogous
#17246F #36176F #62176F
triadic
#36176F #6F3617 #176F36
tetradic
#36176F #6F1724 #506F17 #176F62
square
#36176F #6F1724 #506F17 #176F62
split-complementary
#36176F #6F6217 #246F17
monochromatic
#0C0519 #1D0C3C #36176F #4F22A2 #682DD3

Accessibility & contrast

On white

13.92
#36176F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#36176F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36176F
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36176F#FFFFFF#000000##FFFFFF
##36176F1.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#242F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #36176f;
/* rgb */ color: rgb(54, 23, 111);
/* oklch */ color: oklch(31.1% 0.140 292.3);
Tailwind
colors: {
  custom: {
    50: '#745899',
    500: '#36176f',
    950: '#000000',
  },
}
SCSS
$custom: #36176f;
$custom-light: #745899;
$custom-dark: #000000;
JSON
{
  "hex": "#36176f",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 111
  },
  "hsl": {
    "h": 261.136,
    "s": 65.672,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31052,
    "c": 0.1399,
    "h": 292.3
  },
  "luminance": 0.02545
}

Semantic roles & 50–950 ramp

primary
#36176F
secondary
#80A53D
accent
#E93FAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #36176F

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

Preview Lab → · Contrast checker → · Palette generator →

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