#361A8D#361A8D

#361A8D is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.173 H 283.8°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#361A8D
RGBrgb(54, 26, 141)
HSLhsl(255, 69%, 33%)
HSVhsv(255, 82%, 55%)
CMYKcmyk(61.7%, 81.6%, 0%, 44.7%)
CIE-LABlab(21.75, 43.81, -58.21)
CIE-LCHlch(21.75, 72.85, 306.97°)
OKLaboklab(34.52% 0.0413 -0.1678)
OKLCHoklch(34.52% 0.173 283.8)
XYZxyz(6.6970, 3.4457, 25.5063)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A8D #718D1A
analogous
#1A378D #361A8D #701A8D
triadic
#361A8D #8D361A #1A8D36
tetradic
#361A8D #8D1A37 #718D1A #1A8D70
square
#361A8D #8D1A37 #718D1A #1A8D70
split-complementary
#361A8D #8D701A #378D1A
monochromatic
#0E0726 #221059 #361A8D #4A24C1 #6A45DD

Accessibility & contrast

On white

12.43
#361A8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361A8D
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A8D#FFFFFF#000000##FFFFFF
##361A8D1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003790
Deuteranopia (green-blind)
#00308B
Tritanopia (blue-blind)
#003D54
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #361a8d;
/* rgb */ color: rgb(54, 26, 141);
/* oklch */ color: oklch(34.5% 0.173 283.8);
Tailwind
colors: {
  custom: {
    50: '#795bb0',
    500: '#361a8d',
    950: '#000000',
  },
}
SCSS
$custom: #361a8d;
$custom-light: #795bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#361a8d",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 141
  },
  "hsl": {
    "h": 254.609,
    "s": 68.862,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34522,
    "c": 0.17282,
    "h": 283.8
  },
  "luminance": 0.03446
}

Semantic roles & 50–950 ramp

primary
#361A8D
secondary
#A0BE45
accent
#EC3CC1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #361A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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