#361979#361979

#361979 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.150 H 288.8°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#361979
RGBrgb(54, 25, 121)
HSLhsl(258, 66%, 29%)
HSVhsv(258, 79%, 47%)
CMYKcmyk(55.4%, 79.3%, 0%, 52.5%)
CIE-LABlab(19.47, 38.35, -49.33)
CIE-LCHlch(19.47, 62.48, 307.86°)
OKLaboklab(32.31% 0.0483 -0.1418)
OKLCHoklch(32.31% 0.15 288.8)
XYZxyz(5.3191, 2.8598, 18.3572)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361979 #5C7919
analogous
#192C79 #361979 #661979
triadic
#361979 #793619 #197936
tetradic
#361979 #79192C #5C7919 #197966
square
#361979 #79192C #5C7919 #197966
split-complementary
#361979 #796619 #2C7919
monochromatic
#0B0519 #1F0F46 #361979 #4D23AC #6737D6

Accessibility & contrast

On white

13.36
#361979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361979
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361979#FFFFFF#000000##FFFFFF
##3619791.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002D77
Tritanopia (blue-blind)
#1C3448
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361979;
/* rgb */ color: rgb(54, 25, 121);
/* oklch */ color: oklch(32.3% 0.150 288.8);
Tailwind
colors: {
  custom: {
    50: '#7559a1',
    500: '#361979',
    950: '#000000',
  },
}
SCSS
$custom: #361979;
$custom-light: #7559a1;
$custom-dark: #000000;
JSON
{
  "hex": "#361979",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 121
  },
  "hsl": {
    "h": 258.125,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32306,
    "c": 0.14986,
    "h": 288.8
  },
  "luminance": 0.0286
}

Semantic roles & 50–950 ramp

primary
#361979
secondary
#8DAE40
accent
#E93FB5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361979

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

Preview Lab → · Contrast checker → · Palette generator →

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