#361E80#361E80

#361E80 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.153 H 286.1°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#361E80
RGBrgb(54, 30, 128)
HSLhsl(255, 62%, 31%)
HSVhsv(255, 77%, 50%)
CMYKcmyk(57.8%, 76.6%, 0%, 49.8%)
CIE-LABlab(21.10, 37.85, -51.11)
CIE-LCHlch(21.10, 63.60, 306.52°)
OKLaboklab(33.66% 0.0423 -0.1471)
OKLCHoklch(33.66% 0.153 286.1)
XYZxyz(5.8807, 3.2710, 20.7394)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361E80 #68801E
analogous
#1E3780 #361E80 #671E80
triadic
#361E80 #80361E #1E8036
tetradic
#361E80 #801E37 #68801E #1E8067
square
#361E80 #801E37 #68801E #1E8067
split-complementary
#361E80 #80671E #37801E
monochromatic
#0C071D #21124E #361E80 #4B2AB2 #6845D3

Accessibility & contrast

On white

12.69
#361E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#361E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361E80
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361E80#FFFFFF#000000##FFFFFF
##361E801.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#13394D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361e80;
/* rgb */ color: rgb(54, 30, 128);
/* oklch */ color: oklch(33.7% 0.153 286.1);
Tailwind
colors: {
  custom: {
    50: '#765da6',
    500: '#361e80',
    950: '#000000',
  },
}
SCSS
$custom: #361e80;
$custom-light: #765da6;
$custom-dark: #000000;
JSON
{
  "hex": "#361e80",
  "rgb": {
    "r": 54,
    "g": 30,
    "b": 128
  },
  "hsl": {
    "h": 254.694,
    "s": 62.025,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33661,
    "c": 0.15308,
    "h": 286.1
  },
  "luminance": 0.03271
}

Semantic roles & 50–950 ramp

primary
#361E80
secondary
#99B347
accent
#E543BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361E80

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

Preview Lab → · Contrast checker → · Palette generator →

#361E80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva