#352078#352078

#352078 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.141 H 286.9°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#352078
RGBrgb(53, 32, 120)
HSLhsl(254, 58%, 30%)
HSVhsv(254, 73%, 47%)
CMYKcmyk(55.8%, 73.3%, 0%, 52.9%)
CIE-LABlab(20.62, 34.07, -46.81)
CIE-LCHlch(20.62, 57.90, 306.05°)
OKLaboklab(33.06% 0.0409 -0.1346)
OKLCHoklch(33.06% 0.141 286.9)
XYZxyz(5.3739, 3.1457, 18.0897)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352078 #637820
analogous
#203778 #352078 #612078
triadic
#352078 #783520 #207835
tetradic
#352078 #782037 #637820 #207861
square
#352078 #782037 #637820 #207861
split-complementary
#352078 #786120 #377820
monochromatic
#0B0618 #201348 #352078 #4A2DA8 #6645CD

Accessibility & contrast

On white

12.89
#352078 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352078
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352078#FFFFFF#000000##FFFFFF
##3520781.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347B
Deuteranopia (green-blind)
#002F76
Tritanopia (blue-blind)
#193749
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352078;
/* rgb */ color: rgb(53, 32, 120);
/* oklch */ color: oklch(33.1% 0.141 286.9);
Tailwind
colors: {
  custom: {
    50: '#745da0',
    500: '#352078',
    950: '#000000',
  },
}
SCSS
$custom: #352078;
$custom-light: #745da0;
$custom-dark: #000000;
JSON
{
  "hex": "#352078",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 120
  },
  "hsl": {
    "h": 254.318,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33058,
    "c": 0.14065,
    "h": 286.9
  },
  "luminance": 0.03146
}

Semantic roles & 50–950 ramp

primary
#352078
secondary
#94AB48
accent
#E147BC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #352078

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

Preview Lab → · Contrast checker → · Palette generator →

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