#352174#352174

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

Color values

HEX#352174
RGBrgb(53, 33, 116)
HSLhsl(254, 56%, 29%)
HSVhsv(254, 72%, 45%)
CMYKcmyk(54.3%, 71.6%, 0%, 54.5%)
CIE-LABlab(20.46, 32.21, -44.51)
CIE-LCHlch(20.46, 54.94, 305.89°)
OKLaboklab(32.83% 0.0407 -0.1278)
OKLCHoklch(32.83% 0.134 287.7)
XYZxyz(5.1635, 3.1053, 16.8469)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352174 #607421
analogous
#213774 #352174 #5F2174
triadic
#352174 #743521 #217435
tetradic
#352174 #742137 #607421 #21745F
square
#352174 #742137 #607421 #21745F
split-complementary
#352174 #745F21 #377421
monochromatic
#0B0718 #1F1344 #352174 #4B2FA4 #6545CA

Accessibility & contrast

On white

12.95
#352174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#352174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352174
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352174#FFFFFF#000000##FFFFFF
##3521741.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352174;
/* rgb */ color: rgb(53, 33, 116);
/* oklch */ color: oklch(32.8% 0.134 287.7);
Tailwind
colors: {
  custom: {
    50: '#735e9d',
    500: '#352174',
    950: '#000000',
  },
}
SCSS
$custom: #352174;
$custom-light: #735e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#352174",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 254.458,
    "s": 55.705,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32832,
    "c": 0.13413,
    "h": 287.7
  },
  "luminance": 0.03106
}

Semantic roles & 50–950 ramp

primary
#352174
secondary
#91A749
accent
#DF49BB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #352174

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

Preview Lab → · Contrast checker → · Palette generator →

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