#362472#362472

#362472 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.2% C 0.127 H 288.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#362472
RGBrgb(54, 36, 114)
HSLhsl(254, 52%, 29%)
HSVhsv(254, 68%, 45%)
CMYKcmyk(52.6%, 68.4%, 0%, 55.3%)
CIE-LABlab(21.06, 29.94, -42.24)
CIE-LCHlch(21.06, 51.77, 305.33°)
OKLaboklab(33.23% 0.0394 -0.1211)
OKLCHoklch(33.23% 0.127 288)
XYZxyz(5.1886, 3.2607, 16.2723)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362472 #607224
analogous
#243972 #362472 #5D2472
triadic
#362472 #723624 #247236
tetradic
#362472 #722439 #607224 #24725D
square
#362472 #722439 #607224 #24725D
split-complementary
#362472 #725D24 #397224
monochromatic
#0B0717 #201543 #362472 #4C33A1 #674AC6

Accessibility & contrast

On white

12.71
#362472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#362472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362472
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362472#FFFFFF#000000##FFFFFF
##3624721.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003474
Deuteranopia (green-blind)
#003170
Tritanopia (blue-blind)
#213747
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #362472;
/* rgb */ color: rgb(54, 36, 114);
/* oklch */ color: oklch(33.2% 0.127 288.0);
Tailwind
colors: {
  custom: {
    50: '#73609b',
    500: '#362472',
    950: '#000000',
  },
}
SCSS
$custom: #362472;
$custom-light: #73609b;
$custom-dark: #000000;
JSON
{
  "hex": "#362472",
  "rgb": {
    "r": 54,
    "g": 36,
    "b": 114
  },
  "hsl": {
    "h": 253.846,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33232,
    "c": 0.12736,
    "h": 288
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#362472
secondary
#91A54D
accent
#DB4CBA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09050E
muted
#7B797E

Preview Lab

Preview with #362472

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

Preview Lab → · Contrast checker → · Palette generator →

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