#362174#362174

#362174 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.134 H 288.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#362174
RGBrgb(54, 33, 116)
HSLhsl(255, 56%, 29%)
HSVhsv(255, 72%, 45%)
CMYKcmyk(53.4%, 71.6%, 0%, 54.5%)
CIE-LABlab(20.57, 32.40, -44.33)
CIE-LCHlch(20.57, 54.90, 306.16°)
OKLaboklab(32.93% 0.0423 -0.1272)
OKLCHoklch(32.93% 0.134 288.4)
XYZxyz(5.2166, 3.1327, 16.8494)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362174 #5F7421
analogous
#213674 #362174 #602174
triadic
#362174 #743621 #217436
tetradic
#362174 #742136 #5F7421 #217460
square
#362174 #742136 #5F7421 #217460
split-complementary
#362174 #746021 #367421
monochromatic
#0B0718 #201344 #362174 #4C2FA4 #6745CA

Accessibility & contrast

On white

12.91
#362174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#362174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362174
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362174#FFFFFF#000000##FFFFFF
##3621741.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#1F3647
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #362174;
/* rgb */ color: rgb(54, 33, 116);
/* oklch */ color: oklch(32.9% 0.134 288.4);
Tailwind
colors: {
  custom: {
    50: '#745e9d',
    500: '#362174',
    950: '#000000',
  },
}
SCSS
$custom: #362174;
$custom-light: #745e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#362174",
  "rgb": {
    "r": 54,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 255.181,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.13407,
    "h": 288.4
  },
  "luminance": 0.03133
}

Semantic roles & 50–950 ramp

primary
#362174
secondary
#90A749
accent
#DF49B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #362174

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

Preview Lab → · Contrast checker → · Palette generator →

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