#361780#361780

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

Color values

HEX#361780
RGBrgb(54, 23, 128)
HSLhsl(258, 70%, 30%)
HSVhsv(258, 82%, 50%)
CMYKcmyk(57.8%, 82%, 0%, 49.8%)
CIE-LABlab(19.86, 41.39, -53.14)
CIE-LCHlch(19.86, 67.36, 307.91°)
OKLaboklab(32.8% 0.0476 -0.153)
OKLCHoklch(32.8% 0.16 287.3)
XYZxyz(5.7228, 2.9553, 20.6868)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361780 #618017
analogous
#172D80 #361780 #6A1780
triadic
#361780 #803617 #178036
tetradic
#361780 #80172D #618017 #17806A
square
#361780 #80172D #618017 #17806A
split-complementary
#361780 #806A17 #2D8017
monochromatic
#0B051A #200E4C #361780 #4C20B4 #6736DB

Accessibility & contrast

On white

13.20
#361780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#361780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361780
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361780#FFFFFF#000000##FFFFFF
##3617801.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#14364C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #361780;
/* rgb */ color: rgb(54, 23, 128);
/* oklch */ color: oklch(32.8% 0.160 287.3);
Tailwind
colors: {
  custom: {
    50: '#7759a6',
    500: '#361780',
    950: '#000000',
  },
}
SCSS
$custom: #361780;
$custom-light: #7759a6;
$custom-dark: #000000;
JSON
{
  "hex": "#361780",
  "rgb": {
    "r": 54,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 257.714,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.16022,
    "h": 287.3
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#361780
secondary
#92B43E
accent
#EC3BB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #361780

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

Preview Lab → · Contrast checker → · Palette generator →

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