#361984#361984

#361984 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.4% C 0.163 H 286.0°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#361984
RGBrgb(54, 25, 132)
HSLhsl(256, 68%, 31%)
HSVhsv(256, 81%, 52%)
CMYKcmyk(59.1%, 81.1%, 0%, 48.2%)
CIE-LABlab(20.62, 41.62, -54.43)
CIE-LCHlch(20.62, 68.52, 307.40°)
OKLaboklab(33.45% 0.0449 -0.1568)
OKLCHoklch(33.45% 0.163 286)
XYZxyz(6.0326, 3.1451, 22.1145)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361984 #678419
analogous
#193184 #361984 #6B1984
triadic
#361984 #843619 #198436
tetradic
#361984 #841931 #678419 #19846B
square
#361984 #841931 #678419 #19846B
split-complementary
#361984 #846B19 #318419
monochromatic
#0C061D #210F51 #361984 #4B23B7 #683DDA

Accessibility & contrast

On white

12.89
#361984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361984
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361984#FFFFFF#000000##FFFFFF
##3619841.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361984;
/* rgb */ color: rgb(54, 25, 132);
/* oklch */ color: oklch(33.4% 0.163 286.0);
Tailwind
colors: {
  custom: {
    50: '#775aa9',
    500: '#361984',
    950: '#000000',
  },
}
SCSS
$custom: #361984;
$custom-light: #775aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#361984",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 256.262,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33447,
    "c": 0.16309,
    "h": 286
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#361984
secondary
#98B841
accent
#EB3DBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361984

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

Preview Lab → · Contrast checker → · Palette generator →

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