#361878#361878

#361878 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.150 H 289.3°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#361878
RGBrgb(54, 24, 120)
HSLhsl(259, 67%, 28%)
HSVhsv(259, 80%, 47%)
CMYKcmyk(55%, 80%, 0%, 52.9%)
CIE-LABlab(19.20, 38.55, -49.14)
CIE-LCHlch(19.20, 62.46, 308.12°)
OKLaboklab(32.08% 0.0495 -0.1413)
OKLCHoklch(32.08% 0.15 289.3)
XYZxyz(5.2371, 2.7934, 18.0289)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361878 #5A7818
analogous
#182A78 #361878 #661878
triadic
#361878 #783618 #187836
tetradic
#361878 #78182A #5A7818 #187866
square
#361878 #78182A #5A7818 #187866
split-complementary
#361878 #786618 #2A7818
monochromatic
#0B051A #1F0E45 #361878 #4D22AB #6734D6

Accessibility & contrast

On white

13.47
#361878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361878
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361878#FFFFFF#000000##FFFFFF
##3618781.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002C76
Tritanopia (blue-blind)
#1D3347
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #361878;
/* rgb */ color: rgb(54, 24, 120);
/* oklch */ color: oklch(32.1% 0.150 289.3);
Tailwind
colors: {
  custom: {
    50: '#7559a0',
    500: '#361878',
    950: '#000000',
  },
}
SCSS
$custom: #361878;
$custom-light: #7559a0;
$custom-dark: #000000;
JSON
{
  "hex": "#361878",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 258.75,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32081,
    "c": 0.14971,
    "h": 289.3
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#361878
secondary
#8BAD3F
accent
#EA3EB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #361878

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

Preview Lab → · Contrast checker → · Palette generator →

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