#362088#362088

#362088 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.161 H 283.9°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#362088
RGBrgb(54, 32, 136)
HSLhsl(253, 62%, 33%)
HSVhsv(253, 76%, 53%)
CMYKcmyk(60.3%, 76.5%, 0%, 46.7%)
CIE-LABlab(22.28, 39.25, -54.20)
CIE-LCHlch(22.28, 66.92, 305.91°)
OKLaboklab(34.74% 0.0387 -0.1562)
OKLCHoklch(34.74% 0.161 283.9)
XYZxyz(6.4804, 3.5945, 23.6401)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362088 #728820
analogous
#203E88 #362088 #6A2088
triadic
#362088 #883620 #208836
tetradic
#362088 #88203E #728820 #20886A
square
#362088 #88203E #728820 #20886A
split-complementary
#362088 #886A20 #3E8820
monochromatic
#0F0925 #221456 #362088 #4A2CBA #6A4DD5

Accessibility & contrast

On white

12.22
#362088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#362088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362088
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362088#FFFFFF#000000##FFFFFF
##3620881.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#043D52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #362088;
/* rgb */ color: rgb(54, 32, 136);
/* oklch */ color: oklch(34.7% 0.161 283.9);
Tailwind
colors: {
  custom: {
    50: '#785eac',
    500: '#362088',
    950: '#000000',
  },
}
SCSS
$custom: #362088;
$custom-light: #785eac;
$custom-dark: #000000;
JSON
{
  "hex": "#362088",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 252.692,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34739,
    "c": 0.16089,
    "h": 283.9
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#362088
secondary
#A1B84C
accent
#E543C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #362088

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

Preview Lab → · Contrast checker → · Palette generator →

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