#362091#362091

#362091 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.172 H 282.2°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#362091
RGBrgb(54, 32, 145)
HSLhsl(252, 64%, 35%)
HSVhsv(252, 78%, 57%)
CMYKcmyk(62.8%, 77.9%, 0%, 43.1%)
CIE-LABlab(23.21, 42.05, -58.29)
CIE-LCHlch(23.21, 71.87, 305.81°)
OKLaboklab(35.67% 0.0363 -0.1681)
OKLCHoklch(35.67% 0.172 282.2)
XYZxyz(7.1471, 3.8611, 27.1512)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362091 #7B9120
analogous
#204391 #362091 #6E2091
triadic
#362091 #913620 #209136
tetradic
#362091 #912043 #7B9120 #20916E
square
#362091 #912043 #7B9120 #20916E
split-complementary
#362091 #916E20 #439120
monochromatic
#110A2D #23155F #362091 #492BC3 #6D52D9

Accessibility & contrast

On white

11.85
#362091 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#362091 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362091
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362091#FFFFFF#000000##FFFFFF
##3620911.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00338F
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #362091;
/* rgb */ color: rgb(54, 32, 145);
/* oklch */ color: oklch(35.7% 0.172 282.2);
Tailwind
colors: {
  custom: {
    50: '#795fb2',
    500: '#362091',
    950: '#000000',
  },
}
SCSS
$custom: #362091;
$custom-light: #795fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#362091",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 145
  },
  "hsl": {
    "h": 251.681,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35667,
    "c": 0.17197,
    "h": 282.2
  },
  "luminance": 0.03862
}

Semantic roles & 50–950 ramp

primary
#362091
secondary
#A7BC51
accent
#E741C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362091

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

Preview Lab → · Contrast checker → · Palette generator →

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