#361879#361879

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

Color values

HEX#361879
RGBrgb(54, 24, 121)
HSLhsl(259, 67%, 28%)
HSVhsv(259, 80%, 47%)
CMYKcmyk(55.4%, 80.2%, 0%, 52.5%)
CIE-LABlab(19.30, 38.85, -49.61)
CIE-LCHlch(19.30, 63.01, 308.06°)
OKLaboklab(32.18% 0.0492 -0.1427)
OKLCHoklch(32.18% 0.151 289)
XYZxyz(5.2981, 2.8178, 18.3502)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361879 #5B7918
analogous
#182A79 #361879 #661879
triadic
#361879 #793618 #187936
tetradic
#361879 #79182A #5B7918 #187966
square
#361879 #79182A #5B7918 #187966
split-complementary
#361879 #796618 #2A7918
monochromatic
#0B051A #1F0E46 #361879 #4D22AC #6735D7

Accessibility & contrast

On white

13.43
#361879 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#361879 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361879
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361879#FFFFFF#000000##FFFFFF
##3618791.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361879;
/* rgb */ color: rgb(54, 24, 121);
/* oklch */ color: oklch(32.2% 0.151 289.0);
Tailwind
colors: {
  custom: {
    50: '#7559a1',
    500: '#361879',
    950: '#000000',
  },
}
SCSS
$custom: #361879;
$custom-light: #7559a1;
$custom-dark: #000000;
JSON
{
  "hex": "#361879",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 121
  },
  "hsl": {
    "h": 258.557,
    "s": 66.897,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32184,
    "c": 0.15091,
    "h": 289
  },
  "luminance": 0.02818
}

Semantic roles & 50–950 ramp

primary
#361879
secondary
#8CAE3F
accent
#EA3EB5
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361879

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

Preview Lab → · Contrast checker → · Palette generator →

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