#361684#361684

#361684 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.166 H 286.4°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#361684
RGBrgb(54, 22, 132)
HSLhsl(257, 71%, 30%)
HSVhsv(257, 83%, 52%)
CMYKcmyk(59.1%, 83.3%, 0%, 48.2%)
CIE-LABlab(20.14, 43.00, -55.22)
CIE-LCHlch(20.14, 69.99, 307.91°)
OKLaboklab(33.12% 0.0469 -0.159)
OKLCHoklch(33.12% 0.166 286.4)
XYZxyz(5.9718, 3.0237, 22.0943)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361684 #648416
analogous
#162D84 #361684 #6D1684
triadic
#361684 #843616 #168436
tetradic
#361684 #84162D #648416 #16846D
square
#361684 #84162D #648416 #16846D
split-complementary
#361684 #846D16 #2D8416
monochromatic
#0B051B #210D50 #361684 #4B1FB8 #6737DE

Accessibility & contrast

On white

13.09
#361684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361684
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361684#FFFFFF#000000##FFFFFF
##3616841.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#0E374E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361684;
/* rgb */ color: rgb(54, 22, 132);
/* oklch */ color: oklch(33.1% 0.166 286.4);
Tailwind
colors: {
  custom: {
    50: '#7859a9',
    500: '#361684',
    950: '#000000',
  },
}
SCSS
$custom: #361684;
$custom-light: #7859a9;
$custom-dark: #000000;
JSON
{
  "hex": "#361684",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 257.455,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33116,
    "c": 0.1658,
    "h": 286.4
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#361684
secondary
#95B83D
accent
#EE3ABA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361684

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

Preview Lab → · Contrast checker → · Palette generator →

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