#361978#361978

#361978 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.2% C 0.149 H 289.1°. Best body text is #FFFFFF at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#361978
RGBrgb(54, 25, 120)
HSLhsl(258, 66%, 28%)
HSVhsv(258, 79%, 47%)
CMYKcmyk(55%, 79.2%, 0%, 52.9%)
CIE-LABlab(19.37, 38.05, -48.85)
CIE-LCHlch(19.37, 61.92, 307.91°)
OKLaboklab(32.2% 0.0487 -0.1405)
OKLCHoklch(32.2% 0.149 289.1)
XYZxyz(5.2581, 2.8354, 18.0359)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361978 #5B7819
analogous
#192B78 #361978 #651978
triadic
#361978 #783619 #197836
tetradic
#361978 #78192B #5B7819 #197865
square
#361978 #78192B #5B7819 #197865
split-complementary
#361978 #786519 #2B7819
monochromatic
#0B0519 #1F0E45 #361978 #4D24AB #6736D5

Accessibility & contrast

On white

13.40
#361978 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#361978 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361978
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361978#FFFFFF#000000##FFFFFF
##3619781.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317B
Deuteranopia (green-blind)
#002D76
Tritanopia (blue-blind)
#1D3448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361978;
/* rgb */ color: rgb(54, 25, 120);
/* oklch */ color: oklch(32.2% 0.149 289.1);
Tailwind
colors: {
  custom: {
    50: '#7559a0',
    500: '#361978',
    950: '#000000',
  },
}
SCSS
$custom: #361978;
$custom-light: #7559a0;
$custom-dark: #000000;
JSON
{
  "hex": "#361978",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 120
  },
  "hsl": {
    "h": 258.316,
    "s": 65.517,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32204,
    "c": 0.14865,
    "h": 289.1
  },
  "luminance": 0.02836
}

Semantic roles & 50–950 ramp

primary
#361978
secondary
#8CAD40
accent
#E83FB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361978

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

Preview Lab → · Contrast checker → · Palette generator →

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