#361D80#361D80

#361D80 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.154 H 286.3°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#361D80
RGBrgb(54, 29, 128)
HSLhsl(255, 63%, 31%)
HSVhsv(255, 77%, 50%)
CMYKcmyk(57.8%, 77.3%, 0%, 49.8%)
CIE-LABlab(20.91, 38.39, -51.42)
CIE-LCHlch(20.91, 64.17, 306.74°)
OKLaboklab(33.53% 0.0432 -0.148)
OKLCHoklch(33.53% 0.154 286.3)
XYZxyz(5.8558, 3.2212, 20.7311)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D80 #67801D
analogous
#1D3580 #361D80 #671D80
triadic
#361D80 #80361D #1D8036
tetradic
#361D80 #801D35 #67801D #1D8067
square
#361D80 #801D35 #67801D #1D8067
split-complementary
#361D80 #80671D #35801D
monochromatic
#0C061C #21124E #361D80 #4B28B2 #6843D4

Accessibility & contrast

On white

12.77
#361D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#361D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D80
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D80#FFFFFF#000000##FFFFFF
##361D801.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#14394D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361d80;
/* rgb */ color: rgb(54, 29, 128);
/* oklch */ color: oklch(33.5% 0.154 286.3);
Tailwind
colors: {
  custom: {
    50: '#765ca6',
    500: '#361d80',
    950: '#000000',
  },
}
SCSS
$custom: #361d80;
$custom-light: #765ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#361d80",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 128
  },
  "hsl": {
    "h": 255.152,
    "s": 63.057,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33527,
    "c": 0.15418,
    "h": 286.3
  },
  "luminance": 0.03222
}

Semantic roles & 50–950 ramp

primary
#361D80
secondary
#98B345
accent
#E642BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361D80

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

Preview Lab → · Contrast checker → · Palette generator →

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