#361778#361778

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

Color values

HEX#361778
RGBrgb(54, 23, 120)
HSLhsl(259, 68%, 28%)
HSVhsv(259, 81%, 47%)
CMYKcmyk(55%, 80.8%, 0%, 52.9%)
CIE-LABlab(19.03, 39.04, -49.42)
CIE-LCHlch(19.03, 62.98, 308.31°)
OKLaboklab(31.96% 0.0502 -0.1421)
OKLCHoklch(31.96% 0.151 289.5)
XYZxyz(5.2169, 2.7529, 18.0221)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361778 #597817
analogous
#172978 #361778 #661778
triadic
#361778 #783617 #177836
tetradic
#361778 #781729 #597817 #177866
square
#361778 #781729 #597817 #177866
split-complementary
#361778 #786617 #297817
monochromatic
#0C051A #1F0D45 #361778 #4D21AB #6732D8

Accessibility & contrast

On white

13.54
#361778 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361778
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361778#FFFFFF#000000##FFFFFF
##3617781.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361778;
/* rgb */ color: rgb(54, 23, 120);
/* oklch */ color: oklch(32.0% 0.151 289.5);
Tailwind
colors: {
  custom: {
    50: '#7558a0',
    500: '#361778',
    950: '#000000',
  },
}
SCSS
$custom: #361778;
$custom-light: #7558a0;
$custom-dark: #000000;
JSON
{
  "hex": "#361778",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 120
  },
  "hsl": {
    "h": 259.175,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31962,
    "c": 0.15073,
    "h": 289.5
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#361778
secondary
#8AAD3E
accent
#EB3DB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #361778

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

Preview Lab → · Contrast checker → · Palette generator →

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