#362189#362189

#362189 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.161 H 283.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#362189
RGBrgb(54, 33, 137)
HSLhsl(252, 61%, 33%)
HSVhsv(252, 76%, 54%)
CMYKcmyk(60.6%, 75.9%, 0%, 46.3%)
CIE-LABlab(22.58, 39.02, -54.34)
CIE-LCHlch(22.58, 66.90, 305.68°)
OKLaboklab(34.98% 0.0377 -0.1566)
OKLCHoklch(34.98% 0.161 283.5)
XYZxyz(6.5791, 3.6777, 24.0252)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362189 #748921
analogous
#214089 #362189 #6A2189
triadic
#362189 #893621 #218936
tetradic
#362189 #892140 #748921 #21896A
square
#362189 #892140 #748921 #21896A
split-complementary
#362189 #896A21 #408921
monochromatic
#0F0926 #231558 #362189 #492DBA #6B50D5

Accessibility & contrast

On white

12.10
#362189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#362189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362189
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362189#FFFFFF#000000##FFFFFF
##3621891.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#013E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362189;
/* rgb */ color: rgb(54, 33, 137);
/* oklch */ color: oklch(35.0% 0.161 283.5);
Tailwind
colors: {
  custom: {
    50: '#785fac',
    500: '#362189',
    950: '#000000',
  },
}
SCSS
$custom: #362189;
$custom-light: #785fac;
$custom-dark: #000000;
JSON
{
  "hex": "#362189",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 252.115,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34976,
    "c": 0.16107,
    "h": 283.5
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#362189
secondary
#A3B84E
accent
#E444C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362189

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

Preview Lab → · Contrast checker → · Palette generator →

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