#362288#362288

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

Color values

HEX#362288
RGBrgb(54, 34, 136)
HSLhsl(252, 60%, 33%)
HSVhsv(252, 75%, 53%)
CMYKcmyk(60.3%, 75%, 0%, 46.7%)
CIE-LABlab(22.67, 38.15, -53.56)
CIE-LCHlch(22.67, 65.76, 305.46°)
OKLaboklab(35.01% 0.0372 -0.1543)
OKLCHoklch(35.01% 0.159 283.5)
XYZxyz(6.5359, 3.7055, 23.6586)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362288 #748822
analogous
#224188 #362288 #692288
triadic
#362288 #883622 #228836
tetradic
#362288 #882241 #748822 #228869
square
#362288 #882241 #748822 #228869
split-complementary
#362288 #886922 #418822
monochromatic
#0F0A26 #231657 #362288 #492EB9 #6B51D3

Accessibility & contrast

On white

12.06
#362288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362288
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362288#FFFFFF#000000##FFFFFF
##3622881.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398B
Deuteranopia (green-blind)
#003386
Tritanopia (blue-blind)
#043E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362288;
/* rgb */ color: rgb(54, 34, 136);
/* oklch */ color: oklch(35.0% 0.159 283.5);
Tailwind
colors: {
  custom: {
    50: '#775fac',
    500: '#362288',
    950: '#000000',
  },
}
SCSS
$custom: #362288;
$custom-light: #775fac;
$custom-dark: #000000;
JSON
{
  "hex": "#362288",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 251.765,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35014,
    "c": 0.15872,
    "h": 283.5
  },
  "luminance": 0.03706
}

Semantic roles & 50–950 ramp

primary
#362288
secondary
#A3B74F
accent
#E345C4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362288

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

Preview Lab → · Contrast checker → · Palette generator →

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