#362185#362185

#362185 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.156 H 284.3°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#362185
RGBrgb(54, 33, 133)
HSLhsl(253, 60%, 33%)
HSVhsv(253, 75%, 52%)
CMYKcmyk(59.4%, 75.2%, 0%, 47.8%)
CIE-LABlab(22.18, 37.76, -52.49)
CIE-LCHlch(22.18, 64.66, 305.73°)
OKLaboklab(34.57% 0.0387 -0.1512)
OKLCHoklch(34.57% 0.156 284.3)
XYZxyz(6.2975, 3.5650, 22.5420)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362185 #708521
analogous
#213E85 #362185 #682185
triadic
#362185 #853621 #218536
tetradic
#362185 #85213E #708521 #218568
square
#362185 #85213E #708521 #218568
split-complementary
#362185 #856821 #3E8521
monochromatic
#0E0923 #221554 #362185 #4A2DB6 #694DD3

Accessibility & contrast

On white

12.26
#362185 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#362185 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362185
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362185#FFFFFF#000000##FFFFFF
##3621851.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362185;
/* rgb */ color: rgb(54, 33, 133);
/* oklch */ color: oklch(34.6% 0.156 284.3);
Tailwind
colors: {
  custom: {
    50: '#775fa9',
    500: '#362185',
    950: '#000000',
  },
}
SCSS
$custom: #362185;
$custom-light: #775fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#362185",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 133
  },
  "hsl": {
    "h": 252.6,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34574,
    "c": 0.15604,
    "h": 284.3
  },
  "luminance": 0.03565
}

Semantic roles & 50–950 ramp

primary
#362185
secondary
#A0B64C
accent
#E344C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #362185

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

Preview Lab → · Contrast checker → · Palette generator →

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