#362285#362285

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

Color values

HEX#362285
RGBrgb(54, 34, 133)
HSLhsl(252, 59%, 33%)
HSVhsv(252, 74%, 52%)
CMYKcmyk(59.4%, 74.4%, 0%, 47.8%)
CIE-LABlab(22.38, 37.20, -52.16)
CIE-LCHlch(22.38, 64.07, 305.50°)
OKLaboklab(34.72% 0.0379 -0.1502)
OKLCHoklch(34.72% 0.155 284.1)
XYZxyz(6.3257, 3.6214, 22.5514)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362285 #718522
analogous
#224085 #362285 #672285
triadic
#362285 #853622 #228536
tetradic
#362285 #852240 #718522 #228567
square
#362285 #852240 #718522 #228567
split-complementary
#362285 #856722 #408522
monochromatic
#0E0924 #221654 #362285 #4A2EB6 #6A4FD2

Accessibility & contrast

On white

12.18
#362285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362285
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362285#FFFFFF#000000##FFFFFF
##3622851.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003283
Tritanopia (blue-blind)
#0A3D51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #362285;
/* rgb */ color: rgb(54, 34, 133);
/* oklch */ color: oklch(34.7% 0.155 284.1);
Tailwind
colors: {
  custom: {
    50: '#775fa9',
    500: '#362285',
    950: '#000000',
  },
}
SCSS
$custom: #362285;
$custom-light: #775fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#362285",
  "rgb": {
    "r": 54,
    "g": 34,
    "b": 133
  },
  "hsl": {
    "h": 252.121,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34716,
    "c": 0.15492,
    "h": 284.1
  },
  "luminance": 0.03622
}

Semantic roles & 50–950 ramp

primary
#362285
secondary
#A0B64D
accent
#E245C3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #362285

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

Preview Lab → · Contrast checker → · Palette generator →

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