#362194#362194

#362194 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.175 H 281.5°. Best body text is #FFFFFF at 11.65:1 contrast (WCAG AA passes).

Color values

HEX#362194
RGBrgb(54, 33, 148)
HSLhsl(251, 64%, 35%)
HSVhsv(251, 78%, 58%)
CMYKcmyk(63.5%, 77.7%, 0%, 42%)
CIE-LABlab(23.70, 42.45, -59.32)
CIE-LCHlch(23.70, 72.95, 305.59°)
OKLaboklab(36.11% 0.0348 -0.1711)
OKLCHoklch(36.11% 0.175 281.5)
XYZxyz(7.4088, 4.0096, 28.3947)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362194 #7F9421
analogous
#214594 #362194 #702194
triadic
#362194 #943621 #219436
tetradic
#362194 #942145 #7F9421 #219470
square
#362194 #942145 #7F9421 #219470
split-complementary
#362194 #947021 #459421
monochromatic
#110B30 #241662 #362194 #482CC6 #6E56D9

Accessibility & contrast

On white

11.65
#362194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #362194
11.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362194#FFFFFF#000000##FFFFFF
##3621941.0011.651.8011.65
#FFFFFF11.651.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #362194;
/* rgb */ color: rgb(54, 33, 148);
/* oklch */ color: oklch(36.1% 0.175 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a5fb5',
    500: '#362194',
    950: '#000000',
  },
}
SCSS
$custom: #362194;
$custom-light: #7a5fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#362194",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 250.957,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36109,
    "c": 0.17465,
    "h": 281.5
  },
  "luminance": 0.0401
}

Semantic roles & 50–950 ramp

primary
#362194
secondary
#AABD54
accent
#E741C8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362194

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

Preview Lab → · Contrast checker → · Palette generator →

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