#361980#361980

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

Color values

HEX#361980
RGBrgb(54, 25, 128)
HSLhsl(257, 67%, 30%)
HSVhsv(257, 80%, 50%)
CMYKcmyk(57.8%, 80.5%, 0%, 49.8%)
CIE-LABlab(20.19, 40.43, -52.60)
CIE-LCHlch(20.19, 66.34, 307.55°)
OKLaboklab(33.03% 0.0462 -0.1514)
OKLCHoklch(33.03% 0.158 287)
XYZxyz(5.7641, 3.0377, 20.7005)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361980 #638019
analogous
#193080 #361980 #691980
triadic
#361980 #803619 #198036
tetradic
#361980 #801930 #638019 #198069
square
#361980 #801930 #638019 #198069
split-complementary
#361980 #806919 #308019
monochromatic
#0B051A #200F4D #361980 #4C23B3 #673BD9

Accessibility & contrast

On white

13.06
#361980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361980
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361980#FFFFFF#000000##FFFFFF
##3619801.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#14374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361980;
/* rgb */ color: rgb(54, 25, 128);
/* oklch */ color: oklch(33.0% 0.158 287.0);
Tailwind
colors: {
  custom: {
    50: '#775aa6',
    500: '#361980',
    950: '#000000',
  },
}
SCSS
$custom: #361980;
$custom-light: #775aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#361980",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 128
  },
  "hsl": {
    "h": 256.893,
    "s": 67.32,
    "l": 30
  },
  "oklch": {
    "l": 0.33027,
    "c": 0.15831,
    "h": 287
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#361980
secondary
#94B441
accent
#EA3EBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361980

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

Preview Lab → · Contrast checker → · Palette generator →

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