#362181#362181

#362181 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.2% C 0.151 H 285.2°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#362181
RGBrgb(54, 33, 129)
HSLhsl(253, 59%, 32%)
HSVhsv(253, 74%, 51%)
CMYKcmyk(58.1%, 74.4%, 0%, 49.4%)
CIE-LABlab(21.79, 36.50, -50.61)
CIE-LCHlch(21.79, 62.40, 305.80°)
OKLaboklab(34.18% 0.0396 -0.1457)
OKLCHoklch(34.18% 0.151 285.2)
XYZxyz(6.0264, 3.4566, 21.1143)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362181 #6C8121
analogous
#213C81 #362181 #662181
triadic
#362181 #813621 #218136
tetradic
#362181 #81213C #6C8121 #218166
square
#362181 #81213C #6C8121 #218166
split-complementary
#362181 #816621 #3C8121
monochromatic
#0D0820 #221550 #362181 #4A2DB2 #694BD1

Accessibility & contrast

On white

12.42
#362181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#362181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362181
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362181#FFFFFF#000000##FFFFFF
##3621811.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003784
Deuteranopia (green-blind)
#00317F
Tritanopia (blue-blind)
#123B4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #362181;
/* rgb */ color: rgb(54, 33, 129);
/* oklch */ color: oklch(34.2% 0.151 285.2);
Tailwind
colors: {
  custom: {
    50: '#765ea7',
    500: '#362181',
    950: '#000000',
  },
}
SCSS
$custom: #362181;
$custom-light: #765ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#362181",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 253.125,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34178,
    "c": 0.15096,
    "h": 285.2
  },
  "luminance": 0.03457
}

Semantic roles & 50–950 ramp

primary
#362181
secondary
#9DB44A
accent
#E245C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #362181

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

Preview Lab → · Contrast checker → · Palette generator →

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