#361689#361689

#361689 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.172 H 285.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#361689
RGBrgb(54, 22, 137)
HSLhsl(257, 72%, 31%)
HSVhsv(257, 84%, 54%)
CMYKcmyk(60.6%, 83.9%, 0%, 46.3%)
CIE-LABlab(20.69, 44.45, -57.46)
CIE-LCHlch(20.69, 72.64, 307.73°)
OKLaboklab(33.66% 0.0451 -0.1656)
OKLCHoklch(33.66% 0.172 285.2)
XYZxyz(6.3222, 3.1638, 23.9396)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361689 #698916
analogous
#162F89 #361689 #6F1689
triadic
#361689 #893616 #168936
tetradic
#361689 #89162F #698916 #16896F
square
#361689 #89162F #698916 #16896F
split-complementary
#361689 #896F16 #2F8916
monochromatic
#0C0520 #210E54 #361689 #4B1EBE #683ADF

Accessibility & contrast

On white

12.86
#361689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#361689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361689
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361689#FFFFFF#000000##FFFFFF
##3616891.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#033951
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361689;
/* rgb */ color: rgb(54, 22, 137);
/* oklch */ color: oklch(33.7% 0.172 285.2);
Tailwind
colors: {
  custom: {
    50: '#7959ad',
    500: '#361689',
    950: '#000000',
  },
}
SCSS
$custom: #361689;
$custom-light: #7959ad;
$custom-dark: #000000;
JSON
{
  "hex": "#361689",
  "rgb": {
    "r": 54,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 256.696,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33659,
    "c": 0.17159,
    "h": 285.2
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#361689
secondary
#9ABD3E
accent
#EF39BC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361689

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

Preview Lab → · Contrast checker → · Palette generator →

#361689 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva