#352179#352179

#352179 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.3% C 0.141 H 286.4°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#352179
RGBrgb(53, 33, 121)
HSLhsl(254, 57%, 30%)
HSVhsv(254, 73%, 47%)
CMYKcmyk(56.2%, 72.7%, 0%, 52.5%)
CIE-LABlab(20.92, 33.80, -46.95)
CIE-LCHlch(20.92, 57.85, 305.75°)
OKLaboklab(33.3% 0.0398 -0.135)
OKLCHoklch(33.3% 0.141 286.4)
XYZxyz(5.4622, 3.2248, 18.4201)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352179 #657921
analogous
#213979 #352179 #612179
triadic
#352179 #793521 #217935
tetradic
#352179 #792139 #657921 #217961
square
#352179 #792139 #657921 #217961
split-complementary
#352179 #796121 #397921
monochromatic
#0B0719 #201449 #352179 #4A2EA9 #6647CD

Accessibility & contrast

On white

12.77
#352179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352179
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352179#FFFFFF#000000##FFFFFF
##3521791.0012.771.6512.77
#FFFFFF12.771.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#18384A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352179;
/* rgb */ color: rgb(53, 33, 121);
/* oklch */ color: oklch(33.3% 0.141 286.4);
Tailwind
colors: {
  custom: {
    50: '#745ea1',
    500: '#352179',
    950: '#000000',
  },
}
SCSS
$custom: #352179;
$custom-light: #745ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#352179",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 253.636,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33304,
    "c": 0.14072,
    "h": 286.4
  },
  "luminance": 0.03225
}

Semantic roles & 50–950 ramp

primary
#352179
secondary
#96AC4A
accent
#E047BE
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #352179

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

Preview Lab → · Contrast checker → · Palette generator →

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