#361656#361656

#361656 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.110 H 302.9°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#361656
RGBrgb(54, 22, 86)
HSLhsl(270, 59%, 21%)
HSVhsv(270, 74%, 34%)
CMYKcmyk(37.2%, 74.4%, 0%, 66.3%)
CIE-LABlab(15.64, 29.75, -32.60)
CIE-LCHlch(15.64, 44.13, 312.39°)
OKLaboklab(28.59% 0.0599 -0.0927)
OKLCHoklch(28.59% 0.11 302.9)
XYZxyz(3.4876, 2.0300, 9.0104)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361656 #365616
analogous
#161656 #361656 #561656
triadic
#361656 #563616 #165636
tetradic
#361656 #561616 #365616 #165656
square
#361656 #561616 #365616 #165656
split-complementary
#361656 #565616 #165616
monochromatic
#0F0618 #170A25 #361656 #552287 #732FB7

Accessibility & contrast

On white

14.94
#361656 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#361656 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361656
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361656#FFFFFF#000000##FFFFFF
##3616561.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#302534
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #361656;
/* rgb */ color: rgb(54, 22, 86);
/* oklch */ color: oklch(28.6% 0.110 302.9);
Tailwind
colors: {
  custom: {
    50: '#705686',
    500: '#361656',
    950: '#000000',
  },
}
SCSS
$custom: #361656;
$custom-light: #705686;
$custom-dark: #000000;
JSON
{
  "hex": "#361656",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 86
  },
  "hsl": {
    "h": 270,
    "s": 59.259,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28591,
    "c": 0.11038,
    "h": 302.9
  },
  "luminance": 0.0203
}

Semantic roles & 50–950 ramp

primary
#361656
secondary
#648D3A
accent
#E24594
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #361656

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

Preview Lab → · Contrast checker → · Palette generator →

#361656 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva