#361989#361989

#361989 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.169 H 284.8°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#361989
RGBrgb(54, 25, 137)
HSLhsl(256, 69%, 32%)
HSVhsv(256, 82%, 54%)
CMYKcmyk(60.6%, 81.8%, 0%, 46.3%)
CIE-LABlab(21.15, 43.10, -56.69)
CIE-LCHlch(21.15, 71.21, 307.24°)
OKLaboklab(33.98% 0.0433 -0.1634)
OKLCHoklch(33.98% 0.169 284.8)
XYZxyz(6.3829, 3.2853, 23.9598)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361989 #6C8919
analogous
#193489 #361989 #6E1989
triadic
#361989 #893619 #198936
tetradic
#361989 #891934 #6C8919 #19896E
square
#361989 #891934 #6C8919 #19896E
split-complementary
#361989 #896E19 #348919
monochromatic
#0D0621 #221055 #361989 #4A22BD #6940DC

Accessibility & contrast

On white

12.67
#361989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#361989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361989
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361989#FFFFFF#000000##FFFFFF
##3619891.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#033B51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #361989;
/* rgb */ color: rgb(54, 25, 137);
/* oklch */ color: oklch(34.0% 0.169 284.8);
Tailwind
colors: {
  custom: {
    50: '#785aad',
    500: '#361989',
    950: '#000000',
  },
}
SCSS
$custom: #361989;
$custom-light: #785aad;
$custom-dark: #000000;
JSON
{
  "hex": "#361989",
  "rgb": {
    "r": 54,
    "g": 25,
    "b": 137
  },
  "hsl": {
    "h": 255.536,
    "s": 69.136,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3398,
    "c": 0.169,
    "h": 284.8
  },
  "luminance": 0.03286
}

Semantic roles & 50–950 ramp

primary
#361989
secondary
#9DBC41
accent
#EC3CBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361989

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

Preview Lab → · Contrast checker → · Palette generator →

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