#352175#352175

#352175 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.9% C 0.135 H 287.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#352175
RGBrgb(53, 33, 117)
HSLhsl(254, 56%, 29%)
HSVhsv(254, 72%, 46%)
CMYKcmyk(54.7%, 71.8%, 0%, 54.1%)
CIE-LABlab(20.55, 32.53, -45.00)
CIE-LCHlch(20.55, 55.52, 305.86°)
OKLaboklab(32.92% 0.0405 -0.1292)
OKLCHoklch(32.92% 0.135 287.4)
XYZxyz(5.2220, 3.1287, 17.1549)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352175 #617521
analogous
#213775 #352175 #5F2175
triadic
#352175 #753521 #217535
tetradic
#352175 #752137 #617521 #21755F
square
#352175 #752137 #617521 #21755F
split-complementary
#352175 #755F21 #377521
monochromatic
#0B0718 #1F1445 #352175 #4B2EA5 #6546CB

Accessibility & contrast

On white

12.92
#352175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352175
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352175#FFFFFF#000000##FFFFFF
##3521751.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#002F73
Tritanopia (blue-blind)
#1C3748
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #352175;
/* rgb */ color: rgb(53, 33, 117);
/* oklch */ color: oklch(32.9% 0.135 287.4);
Tailwind
colors: {
  custom: {
    50: '#735e9e',
    500: '#352175',
    950: '#000000',
  },
}
SCSS
$custom: #352175;
$custom-light: #735e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#352175",
  "rgb": {
    "r": 53,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 254.286,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32925,
    "c": 0.13546,
    "h": 287.4
  },
  "luminance": 0.03129
}

Semantic roles & 50–950 ramp

primary
#352175
secondary
#92A84A
accent
#DF49BB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #352175

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

Preview Lab → · Contrast checker → · Palette generator →

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