#361784#361784

#361784 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.165 H 286.3°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#361784
RGBrgb(54, 23, 132)
HSLhsl(257, 70%, 30%)
HSVhsv(257, 83%, 52%)
CMYKcmyk(59.1%, 82.6%, 0%, 48.2%)
CIE-LABlab(20.29, 42.55, -54.96)
CIE-LCHlch(20.29, 69.51, 307.75°)
OKLaboklab(33.22% 0.0462 -0.1583)
OKLCHoklch(33.22% 0.165 286.3)
XYZxyz(5.9913, 3.0627, 22.1008)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361784 #658417
analogous
#172E84 #361784 #6C1784
triadic
#361784 #843617 #178436
tetradic
#361784 #84172E #658417 #17846C
square
#361784 #84172E #658417 #17846C
split-complementary
#361784 #846C17 #2E8417
monochromatic
#0B051C #210E50 #361784 #4B20B8 #6739DC

Accessibility & contrast

On white

13.02
#361784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361784
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361784#FFFFFF#000000##FFFFFF
##3617841.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#0E384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361784;
/* rgb */ color: rgb(54, 23, 132);
/* oklch */ color: oklch(33.2% 0.165 286.3);
Tailwind
colors: {
  custom: {
    50: '#7859a9',
    500: '#361784',
    950: '#000000',
  },
}
SCSS
$custom: #361784;
$custom-light: #7859a9;
$custom-dark: #000000;
JSON
{
  "hex": "#361784",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 132
  },
  "hsl": {
    "h": 257.064,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33223,
    "c": 0.16492,
    "h": 286.3
  },
  "luminance": 0.03063
}

Semantic roles & 50–950 ramp

primary
#361784
secondary
#96B83F
accent
#ED3BBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361784

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

Preview Lab → · Contrast checker → · Palette generator →

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