#352273#352273

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

Color values

HEX#352273
RGBrgb(53, 34, 115)
HSLhsl(254, 54%, 29%)
HSVhsv(254, 70%, 45%)
CMYKcmyk(53.9%, 70.4%, 0%, 54.9%)
CIE-LABlab(20.59, 31.29, -43.65)
CIE-LCHlch(20.59, 53.71, 305.63°)
OKLaboklab(32.9% 0.0399 -0.1253)
OKLCHoklch(32.9% 0.131 287.7)
XYZxyz(5.1338, 3.1385, 16.5516)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352273 #607322
analogous
#223873 #352273 #5E2273
triadic
#352273 #733522 #227335
tetradic
#352273 #732238 #607322 #22735E
square
#352273 #732238 #607322 #22735E
split-complementary
#352273 #735E22 #387322
monochromatic
#0B0718 #1F1444 #352273 #4B30A2 #6547C9

Accessibility & contrast

On white

12.90
#352273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #352273
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352273#FFFFFF#000000##FFFFFF
##3522731.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#1E3647
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #352273;
/* rgb */ color: rgb(53, 34, 115);
/* oklch */ color: oklch(32.9% 0.131 287.7);
Tailwind
colors: {
  custom: {
    50: '#735e9c',
    500: '#352273',
    950: '#000000',
  },
}
SCSS
$custom: #352273;
$custom-light: #735e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#352273",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 254.074,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32896,
    "c": 0.13149,
    "h": 287.7
  },
  "luminance": 0.03139
}

Semantic roles & 50–950 ramp

primary
#352273
secondary
#91A64B
accent
#DE4ABB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #352273

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

Preview Lab → · Contrast checker → · Palette generator →

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