#361B7F#361B7F

#361B7F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.155 H 286.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#361B7F
RGBrgb(54, 27, 127)
HSLhsl(256, 65%, 30%)
HSVhsv(256, 79%, 50%)
CMYKcmyk(57.5%, 78.7%, 0%, 50.2%)
CIE-LABlab(20.44, 39.13, -51.56)
CIE-LCHlch(20.44, 64.73, 307.20°)
OKLaboklab(33.17% 0.045 -0.1484)
OKLCHoklch(33.17% 0.155 286.9)
XYZxyz(5.7429, 3.1001, 20.3703)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361B7F #647F1B
analogous
#1B327F #361B7F #681B7F
triadic
#361B7F #7F361B #1B7F36
tetradic
#361B7F #7F1B32 #647F1B #1B7F68
square
#361B7F #7F1B32 #647F1B #1B7F68
split-complementary
#361B7F #7F681B #327F1B
monochromatic
#0B061A #21104D #361B7F #4B26B1 #673ED6

Accessibility & contrast

On white

12.96
#361B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#361B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361B7F
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361B7F#FFFFFF#000000##FFFFFF
##361B7F1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003482
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#15374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #361b7f;
/* rgb */ color: rgb(54, 27, 127);
/* oklch */ color: oklch(33.2% 0.155 286.9);
Tailwind
colors: {
  custom: {
    50: '#765ba5',
    500: '#361b7f',
    950: '#000000',
  },
}
SCSS
$custom: #361b7f;
$custom-light: #765ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#361b7f",
  "rgb": {
    "r": 54,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 256.2,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33168,
    "c": 0.15507,
    "h": 286.9
  },
  "luminance": 0.031
}

Semantic roles & 50–950 ramp

primary
#361B7F
secondary
#95B343
accent
#E840BB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #361B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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