#361679#361679

#361679 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.153 H 289.4°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#361679
RGBrgb(54, 22, 121)
HSLhsl(259, 69%, 28%)
HSVhsv(259, 82%, 47%)
CMYKcmyk(55.4%, 81.8%, 0%, 52.5%)
CIE-LABlab(18.96, 39.81, -50.16)
CIE-LCHlch(18.96, 64.04, 308.44°)
OKLaboklab(31.95% 0.0507 -0.1443)
OKLCHoklch(31.95% 0.153 289.4)
XYZxyz(5.2584, 2.7383, 18.3369)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361679 #597916
analogous
#162779 #361679 #671679
triadic
#361679 #793616 #167936
tetradic
#361679 #791627 #597916 #167967
square
#361679 #791627 #597916 #167967
split-complementary
#361679 #796716 #277916
monochromatic
#0C051A #1F0D45 #361679 #4D1FAD #6730D9

Accessibility & contrast

On white

13.57
#361679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#361679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361679
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361679#FFFFFF#000000##FFFFFF
##3616791.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307C
Deuteranopia (green-blind)
#002C77
Tritanopia (blue-blind)
#1C3347
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #361679;
/* rgb */ color: rgb(54, 22, 121);
/* oklch */ color: oklch(31.9% 0.153 289.4);
Tailwind
colors: {
  custom: {
    50: '#7658a1',
    500: '#361679',
    950: '#000000',
  },
}
SCSS
$custom: #361679;
$custom-light: #7658a1;
$custom-dark: #000000;
JSON
{
  "hex": "#361679",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 259.394,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3195,
    "c": 0.15291,
    "h": 289.4
  },
  "luminance": 0.02739
}

Semantic roles & 50–950 ramp

primary
#361679
secondary
#8AAE3D
accent
#EC3CB3
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#09030F
muted
#7B787F

Preview Lab

Preview with #361679

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

Preview Lab → · Contrast checker → · Palette generator →

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