#361D8B#361D8B

#361D8B is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.168 H 283.8°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#361D8B
RGBrgb(54, 29, 139)
HSLhsl(254, 65%, 33%)
HSVhsv(254, 79%, 55%)
CMYKcmyk(61.2%, 79.1%, 0%, 45.5%)
CIE-LABlab(22.04, 41.75, -56.48)
CIE-LCHlch(22.04, 70.23, 306.47°)
OKLaboklab(34.66% 0.04 -0.1628)
OKLCHoklch(34.66% 0.168 283.8)
XYZxyz(6.6195, 3.5266, 24.7530)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D8B #728B1D
analogous
#1D3B8B #361D8B #6D1D8B
triadic
#361D8B #8B361D #1D8B36
tetradic
#361D8B #8B1D3B #728B1D #1D8B6D
square
#361D8B #8B1D3B #728B1D #1D8B6D
split-complementary
#361D8B #8B6D1D #3B8B1D
monochromatic
#0F0826 #221258 #361D8B #4A28BE #6A49D9

Accessibility & contrast

On white

12.31
#361D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#361D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D8B
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D8B#FFFFFF#000000##FFFFFF
##361D8B1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#003D53
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #361d8b;
/* rgb */ color: rgb(54, 29, 139);
/* oklch */ color: oklch(34.7% 0.168 283.8);
Tailwind
colors: {
  custom: {
    50: '#785dae',
    500: '#361d8b',
    950: '#000000',
  },
}
SCSS
$custom: #361d8b;
$custom-light: #785dae;
$custom-dark: #000000;
JSON
{
  "hex": "#361d8b",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 253.636,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34662,
    "c": 0.16764,
    "h": 283.8
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#361D8B
secondary
#A1BB49
accent
#E83FC2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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