#361D88#361D88

#361D88 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.164 H 284.4°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#361D88
RGBrgb(54, 29, 136)
HSLhsl(254, 65%, 32%)
HSVhsv(254, 79%, 53%)
CMYKcmyk(60.3%, 78.7%, 0%, 46.7%)
CIE-LABlab(21.73, 40.83, -55.12)
CIE-LCHlch(21.73, 68.59, 306.53°)
OKLaboklab(34.35% 0.0409 -0.1588)
OKLCHoklch(34.35% 0.164 284.4)
XYZxyz(6.4033, 3.4402, 23.6144)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361D88 #6F881D
analogous
#1D3988 #361D88 #6C1D88
triadic
#361D88 #88361D #1D8836
tetradic
#361D88 #881D39 #6F881D #1D886C
square
#361D88 #881D39 #6F881D #1D886C
split-complementary
#361D88 #886C1D #39881D
monochromatic
#0E0723 #221256 #361D88 #4A28BA #6948D8

Accessibility & contrast

On white

12.44
#361D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#361D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361D88
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361D88#FFFFFF#000000##FFFFFF
##361D881.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#043C52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361d88;
/* rgb */ color: rgb(54, 29, 136);
/* oklch */ color: oklch(34.3% 0.164 284.4);
Tailwind
colors: {
  custom: {
    50: '#785dac',
    500: '#361d88',
    950: '#000000',
  },
}
SCSS
$custom: #361d88;
$custom-light: #785dac;
$custom-dark: #000000;
JSON
{
  "hex": "#361d88",
  "rgb": {
    "r": 54,
    "g": 29,
    "b": 136
  },
  "hsl": {
    "h": 254.019,
    "s": 64.848,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34349,
    "c": 0.164,
    "h": 284.4
  },
  "luminance": 0.03441
}

Semantic roles & 50–950 ramp

primary
#361D88
secondary
#9FBA47
accent
#E840C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361D88

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

Preview Lab → · Contrast checker → · Palette generator →

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