#361981#361981

#361981 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.160 H 286.7°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#361981
RGBrgb(54, 25, 129)
HSLhsl(257, 68%, 30%)
HSVhsv(257, 81%, 51%)
CMYKcmyk(58.1%, 80.6%, 0%, 49.4%)
CIE-LABlab(20.30, 40.73, -53.06)
CIE-LCHlch(20.30, 66.89, 307.51°)
OKLaboklab(33.13% 0.0459 -0.1528)
OKLCHoklch(33.13% 0.16 286.7)
XYZxyz(5.8302, 3.0642, 21.0489)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361981 #648119
analogous
#193081 #361981 #6A1981
triadic
#361981 #813619 #198136
tetradic
#361981 #811930 #648119 #19816A
square
#361981 #811930 #648119 #19816A
split-complementary
#361981 #816A19 #308119
monochromatic
#0B051A #210F4E #361981 #4B23B4 #673BD9

Accessibility & contrast

On white

13.02
#361981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#361981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361981
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361981#FFFFFF#000000##FFFFFF
##3619811.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #361981;
/* rgb */ color: rgb(54, 25, 129);
/* oklch */ color: oklch(33.1% 0.160 286.7);
Tailwind
colors: {
  custom: {
    50: '#775aa7',
    500: '#361981',
    950: '#000000',
  },
}
SCSS
$custom: #361981;
$custom-light: #775aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#361981",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 256.731,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33132,
    "c": 0.1595,
    "h": 286.7
  },
  "luminance": 0.03065
}

Semantic roles & 50–950 ramp

primary
#361981
secondary
#95B541
accent
#EA3DBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361981

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

Preview Lab → · Contrast checker → · Palette generator →

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