#361881#361881

#361881 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.160 H 286.9°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#361881
RGBrgb(54, 24, 129)
HSLhsl(257, 69%, 30%)
HSVhsv(257, 81%, 51%)
CMYKcmyk(58.1%, 81.4%, 0%, 49.4%)
CIE-LABlab(20.13, 41.21, -53.33)
CIE-LCHlch(20.13, 67.40, 307.69°)
OKLaboklab(33.02% 0.0466 -0.1535)
OKLCHoklch(33.02% 0.16 286.9)
XYZxyz(5.8092, 3.0222, 21.0419)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361881 #638118
analogous
#182E81 #361881 #6B1881
triadic
#361881 #813618 #188136
tetradic
#361881 #81182E #638118 #18816B
square
#361881 #81182E #638118 #18816B
split-complementary
#361881 #816B18 #2E8118
monochromatic
#0B051A #200E4D #361881 #4C22B5 #6739DA

Accessibility & contrast

On white

13.09
#361881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#361881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361881
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361881#FFFFFF#000000##FFFFFF
##3618811.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003384
Deuteranopia (green-blind)
#002E7F
Tritanopia (blue-blind)
#13374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361881;
/* rgb */ color: rgb(54, 24, 129);
/* oklch */ color: oklch(33.0% 0.160 286.9);
Tailwind
colors: {
  custom: {
    50: '#7759a7',
    500: '#361881',
    950: '#000000',
  },
}
SCSS
$custom: #361881;
$custom-light: #7759a7;
$custom-dark: #000000;
JSON
{
  "hex": "#361881",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 257.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.33016,
    "c": 0.16046,
    "h": 286.9
  },
  "luminance": 0.03023
}

Semantic roles & 50–950 ramp

primary
#361881
secondary
#94B540
accent
#EB3CB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361881

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

Preview Lab → · Contrast checker → · Palette generator →

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