#352479#352479

#352479 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 33.8% C 0.137 H 285.6°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#352479
RGBrgb(53, 36, 121)
HSLhsl(252, 54%, 31%)
HSVhsv(252, 70%, 47%)
CMYKcmyk(56.2%, 70.2%, 0%, 52.5%)
CIE-LABlab(21.58, 32.01, -45.89)
CIE-LCHlch(21.58, 55.95, 304.90°)
OKLaboklab(33.77% 0.0369 -0.1319)
OKLCHoklch(33.77% 0.137 285.6)
XYZxyz(5.5492, 3.3988, 18.4491)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352479 #687924
analogous
#243D79 #352479 #5F2479
triadic
#352479 #793524 #247935
tetradic
#352479 #79243D #687924 #24795F
square
#352479 #79243D #687924 #24795F
split-complementary
#352479 #795F24 #3D7924
monochromatic
#0C081B #20164A #352479 #4A32A8 #664DCA

Accessibility & contrast

On white

12.50
#352479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#352479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352479
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352479#FFFFFF#000000##FFFFFF
##3524791.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#183A4B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #352479;
/* rgb */ color: rgb(53, 36, 121);
/* oklch */ color: oklch(33.8% 0.137 285.6);
Tailwind
colors: {
  custom: {
    50: '#7460a0',
    500: '#352479',
    950: '#000000',
  },
}
SCSS
$custom: #352479;
$custom-light: #7460a0;
$custom-dark: #000000;
JSON
{
  "hex": "#352479",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 252,
    "s": 54.14,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33772,
    "c": 0.13692,
    "h": 285.6
  },
  "luminance": 0.03399
}

Semantic roles & 50–950 ramp

primary
#352479
secondary
#99AC4D
accent
#DE4AC0
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #352479

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

Preview Lab → · Contrast checker → · Palette generator →

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