#361889#361889

#361889 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.170 H 285.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#361889
RGBrgb(54, 24, 137)
HSLhsl(256, 70%, 32%)
HSVhsv(256, 82%, 54%)
CMYKcmyk(60.6%, 82.5%, 0%, 46.3%)
CIE-LABlab(20.99, 43.56, -56.95)
CIE-LCHlch(20.99, 71.70, 307.41°)
OKLaboklab(33.87% 0.0439 -0.1641)
OKLCHoklch(33.87% 0.17 285)
XYZxyz(6.3619, 3.2433, 23.9528)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#361889 #6B8918
analogous
#183389 #361889 #6F1889
triadic
#361889 #893618 #188936
tetradic
#361889 #891833 #6B8918 #18896F
square
#361889 #891833 #6B8918 #18896F
split-complementary
#361889 #896F18 #338918
monochromatic
#0D0621 #210F55 #361889 #4B21BD #683EDD

Accessibility & contrast

On white

12.74
#361889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#361889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #361889
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##361889#FFFFFF#000000##FFFFFF
##3618891.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#033A51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #361889;
/* rgb */ color: rgb(54, 24, 137);
/* oklch */ color: oklch(33.9% 0.170 285.0);
Tailwind
colors: {
  custom: {
    50: '#785aad',
    500: '#361889',
    950: '#000000',
  },
}
SCSS
$custom: #361889;
$custom-light: #785aad;
$custom-dark: #000000;
JSON
{
  "hex": "#361889",
  "rgb": {
    "r": 54,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 255.929,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3387,
    "c": 0.16989,
    "h": 285
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#361889
secondary
#9CBD40
accent
#ED3BBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #361889

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

Preview Lab → · Contrast checker → · Palette generator →

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