#362289#362289

#362289 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.160 H 283.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#362289
RGBrgb(54, 34, 137)
HSLhsl(252, 60%, 34%)
HSVhsv(252, 75%, 54%)
CMYKcmyk(60.6%, 75.2%, 0%, 46.3%)
CIE-LABlab(22.77, 38.47, -54.02)
CIE-LCHlch(22.77, 66.32, 305.45°)
OKLaboklab(35.12% 0.0369 -0.1557)
OKLCHoklch(35.12% 0.16 283.3)
XYZxyz(6.6073, 3.7340, 24.0346)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362289 #758922
analogous
#224289 #362289 #692289
triadic
#362289 #893622 #228936
tetradic
#362289 #892242 #758922 #228969
square
#362289 #892242 #758922 #228969
split-complementary
#362289 #896922 #428922
monochromatic
#0F0A27 #231658 #362289 #492EBA #6B51D4

Accessibility & contrast

On white

12.02
#362289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#362289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362289
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362289#FFFFFF#000000##FFFFFF
##3622891.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#013E53
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #362289;
/* rgb */ color: rgb(54, 34, 137);
/* oklch */ color: oklch(35.1% 0.160 283.3);
Tailwind
colors: {
  custom: {
    50: '#785fac',
    500: '#362289',
    950: '#000000',
  },
}
SCSS
$custom: #362289;
$custom-light: #785fac;
$custom-dark: #000000;
JSON
{
  "hex": "#362289",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 251.65,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35115,
    "c": 0.15998,
    "h": 283.3
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#362289
secondary
#A3B84F
accent
#E344C5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362289

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

Preview Lab → · Contrast checker → · Palette generator →

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