#361884#361884

#361884 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.164 H 286.1°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#361884
RGBrgb(54, 24, 132)
HSLhsl(257, 69%, 31%)
HSVhsv(257, 82%, 52%)
CMYKcmyk(59.1%, 81.8%, 0%, 48.2%)
CIE-LABlab(20.45, 42.09, -54.70)
CIE-LCHlch(20.45, 69.02, 307.58°)
OKLaboklab(33.33% 0.0456 -0.1575)
OKLCHoklch(33.33% 0.164 286.1)
XYZxyz(6.0116, 3.1031, 22.1075)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361884 #668418
analogous
#183084 #361884 #6C1884
triadic
#361884 #843618 #188436
tetradic
#361884 #841830 #668418 #18846C
square
#361884 #841830 #668418 #18846C
split-complementary
#361884 #846C18 #308418
monochromatic
#0C051C #210F50 #361884 #4B21B8 #683BDB

Accessibility & contrast

On white

12.96
#361884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361884
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361884#FFFFFF#000000##FFFFFF
##3618841.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.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: #361884;
/* rgb */ color: rgb(54, 24, 132);
/* oklch */ color: oklch(33.3% 0.164 286.1);
Tailwind
colors: {
  custom: {
    50: '#775aa9',
    500: '#361884',
    950: '#000000',
  },
}
SCSS
$custom: #361884;
$custom-light: #775aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#361884",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 256.667,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33334,
    "c": 0.16401,
    "h": 286.1
  },
  "luminance": 0.03103
}

Semantic roles & 50–950 ramp

primary
#361884
secondary
#97B840
accent
#EC3CBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361884

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

Preview Lab → · Contrast checker → · Palette generator →

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