#361B85#361B85

#361B85 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.162 H 285.4°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#361B85
RGBrgb(54, 27, 133)
HSLhsl(255, 66%, 31%)
HSVhsv(255, 80%, 52%)
CMYKcmyk(59.4%, 79.7%, 0%, 47.8%)
CIE-LABlab(21.06, 40.94, -54.33)
CIE-LCHlch(21.06, 68.03, 307.00°)
OKLaboklab(33.79% 0.0432 -0.1565)
OKLCHoklch(33.79% 0.162 285.4)
XYZxyz(6.1456, 3.2612, 22.4914)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B85 #6A851B
analogous
#1B3585 #361B85 #6B1B85
triadic
#361B85 #85361B #1B8536
tetradic
#361B85 #851B35 #6A851B #1B856B
square
#361B85 #851B35 #6A851B #1B856B
split-complementary
#361B85 #856B1B #35851B
monochromatic
#0D061F #211152 #361B85 #4B25B8 #6842D9

Accessibility & contrast

On white

12.71
#361B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361B85
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B85#FFFFFF#000000##FFFFFF
##361B851.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003588
Deuteranopia (green-blind)
#002F83
Tritanopia (blue-blind)
#0C3A4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361b85;
/* rgb */ color: rgb(54, 27, 133);
/* oklch */ color: oklch(33.8% 0.162 285.4);
Tailwind
colors: {
  custom: {
    50: '#775baa',
    500: '#361b85',
    950: '#000000',
  },
}
SCSS
$custom: #361b85;
$custom-light: #775baa;
$custom-dark: #000000;
JSON
{
  "hex": "#361b85",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 255.283,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.16235,
    "h": 285.4
  },
  "luminance": 0.03262
}

Semantic roles & 50–950 ramp

primary
#361B85
secondary
#9BB844
accent
#E93FBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361B85

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

Preview Lab → · Contrast checker → · Palette generator →

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