#362193#362193

#362193 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.0% C 0.173 H 281.7°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#362193
RGBrgb(54, 33, 147)
HSLhsl(251, 63%, 35%)
HSVhsv(251, 78%, 58%)
CMYKcmyk(63.3%, 77.6%, 0%, 42.4%)
CIE-LABlab(23.60, 42.14, -58.88)
CIE-LCHlch(23.60, 72.41, 305.59°)
OKLaboklab(36% 0.0351 -0.1698)
OKLCHoklch(36% 0.173 281.7)
XYZxyz(7.3300, 3.9780, 27.9797)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362193 #7E9321
analogous
#214593 #362193 #6F2193
triadic
#362193 #933621 #219336
tetradic
#362193 #932145 #7E9321 #21936F
square
#362193 #932145 #7E9321 #21936F
split-complementary
#362193 #936F21 #459321
monochromatic
#110B2F #241661 #362193 #482CC5 #6E55D9

Accessibility & contrast

On white

11.69
#362193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#362193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362193
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362193#FFFFFF#000000##FFFFFF
##3621931.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#004259
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362193;
/* rgb */ color: rgb(54, 33, 147);
/* oklch */ color: oklch(36.0% 0.173 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a5fb4',
    500: '#362193',
    950: '#000000',
  },
}
SCSS
$custom: #362193;
$custom-light: #7a5fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#362193",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 251.053,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36004,
    "c": 0.17343,
    "h": 281.7
  },
  "luminance": 0.03979
}

Semantic roles & 50–950 ramp

primary
#362193
secondary
#A9BD53
accent
#E641C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362193

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

Preview Lab → · Contrast checker → · Palette generator →

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