#361D85#361D85

#361D85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.160 H 285.1°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#361D85
RGBrgb(54, 29, 133)
HSLhsl(254, 64%, 32%)
HSVhsv(254, 78%, 52%)
CMYKcmyk(59.4%, 78.2%, 0%, 47.8%)
CIE-LABlab(21.42, 39.92, -53.74)
CIE-LCHlch(21.42, 66.95, 306.60°)
OKLaboklab(34.04% 0.0418 -0.1548)
OKLCHoklch(34.04% 0.16 285.1)
XYZxyz(6.1930, 3.3561, 22.5072)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D85 #6C851D
analogous
#1D3885 #361D85 #6A1D85
triadic
#361D85 #85361D #1D8536
tetradic
#361D85 #851D38 #6C851D #1D856A
square
#361D85 #851D38 #6C851D #1D856A
split-complementary
#361D85 #856A1D #38851D
monochromatic
#0D0721 #221253 #361D85 #4A28B7 #6946D7

Accessibility & contrast

On white

12.57
#361D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#361D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D85
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D85#FFFFFF#000000##FFFFFF
##361D851.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#0B3B50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361d85;
/* rgb */ color: rgb(54, 29, 133);
/* oklch */ color: oklch(34.0% 0.160 285.1);
Tailwind
colors: {
  custom: {
    50: '#775caa',
    500: '#361d85',
    950: '#000000',
  },
}
SCSS
$custom: #361d85;
$custom-light: #775caa;
$custom-dark: #000000;
JSON
{
  "hex": "#361d85",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 254.423,
    "s": 64.198,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34038,
    "c": 0.16033,
    "h": 285.1
  },
  "luminance": 0.03356
}

Semantic roles & 50–950 ramp

primary
#361D85
secondary
#9DB846
accent
#E741BF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361D85

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

Preview Lab → · Contrast checker → · Palette generator →

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