#361A8A#361A8A

#361A8A is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.2% C 0.169 H 284.5°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#361A8A
RGBrgb(54, 26, 138)
HSLhsl(255, 68%, 32%)
HSVhsv(255, 81%, 54%)
CMYKcmyk(60.9%, 81.2%, 0%, 45.9%)
CIE-LABlab(21.42, 42.92, -56.87)
CIE-LCHlch(21.42, 71.25, 307.04°)
OKLaboklab(34.2% 0.0423 -0.1639)
OKLCHoklch(34.2% 0.169 284.5)
XYZxyz(6.4768, 3.3576, 24.3466)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361A8A #6E8A1A
analogous
#1A368A #361A8A #6E1A8A
triadic
#361A8A #8A361A #1A8A36
tetradic
#361A8A #8A1A36 #6E8A1A #1A8A6E
square
#361A8A #8A1A36 #6E8A1A #1A8A6E
split-complementary
#361A8A #8A6E1A #368A1A
monochromatic
#0E0723 #221057 #361A8A #4A24BD #6943DC

Accessibility & contrast

On white

12.56
#361A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #361A8A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361A8A#FFFFFF#000000##FFFFFF
##361A8A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378D
Deuteranopia (green-blind)
#003088
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361a8a;
/* rgb */ color: rgb(54, 26, 138);
/* oklch */ color: oklch(34.2% 0.169 284.5);
Tailwind
colors: {
  custom: {
    50: '#785bad',
    500: '#361a8a',
    950: '#000000',
  },
}
SCSS
$custom: #361a8a;
$custom-light: #785bad;
$custom-dark: #000000;
JSON
{
  "hex": "#361a8a",
  "rgb": {
    "r": 54,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 255,
    "s": 68.293,
    "l": 32.157
  },
  "oklch": {
    "l": 0.342,
    "c": 0.16927,
    "h": 284.5
  },
  "luminance": 0.03358
}

Semantic roles & 50–950 ramp

primary
#361A8A
secondary
#9EBD43
accent
#EB3DC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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