#361982#361982

#361982 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.161 H 286.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#361982
RGBrgb(54, 25, 130)
HSLhsl(257, 68%, 30%)
HSVhsv(257, 81%, 51%)
CMYKcmyk(58.5%, 80.8%, 0%, 49%)
CIE-LABlab(20.40, 41.03, -53.52)
CIE-LCHlch(20.40, 67.43, 307.47°)
OKLaboklab(33.24% 0.0456 -0.1541)
OKLCHoklch(33.24% 0.161 286.5)
XYZxyz(5.8970, 3.0909, 21.4006)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361982 #658219
analogous
#193182 #361982 #6A1982
triadic
#361982 #823619 #198236
tetradic
#361982 #821931 #658219 #19826A
square
#361982 #821931 #658219 #19826A
split-complementary
#361982 #826A19 #318219
monochromatic
#0B051B #210F4F #361982 #4B23B5 #673CD9

Accessibility & contrast

On white

12.98
#361982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361982
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361982#FFFFFF#000000##FFFFFF
##3619821.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#11384D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361982;
/* rgb */ color: rgb(54, 25, 130);
/* oklch */ color: oklch(33.2% 0.161 286.5);
Tailwind
colors: {
  custom: {
    50: '#775aa7',
    500: '#361982',
    950: '#000000',
  },
}
SCSS
$custom: #361982;
$custom-light: #775aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#361982",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 256.571,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33237,
    "c": 0.1607,
    "h": 286.5
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#361982
secondary
#96B641
accent
#EB3DBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361982

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

Preview Lab → · Contrast checker → · Palette generator →

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