#352072#352072

#352072 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.5% C 0.133 H 288.5°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#352072
RGBrgb(53, 32, 114)
HSLhsl(255, 56%, 29%)
HSVhsv(255, 72%, 45%)
CMYKcmyk(53.5%, 71.9%, 0%, 55.3%)
CIE-LABlab(20.06, 32.17, -43.87)
CIE-LCHlch(20.06, 54.40, 306.25°)
OKLaboklab(32.49% 0.0421 -0.1259)
OKLCHoklch(32.49% 0.133 288.5)
XYZxyz(5.0211, 3.0046, 16.2317)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352072 #5D7220
analogous
#203472 #352072 #5E2072
triadic
#352072 #723520 #207235
tetradic
#352072 #722034 #5D7220 #20725E
square
#352072 #722034 #5D7220 #20725E
split-complementary
#352072 #725E20 #347220
monochromatic
#0B0718 #1F1342 #352072 #4B2DA2 #6542CA

Accessibility & contrast

On white

13.12
#352072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#352072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352072
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352072#FFFFFF#000000##FFFFFF
##3520721.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003274
Deuteranopia (green-blind)
#002E70
Tritanopia (blue-blind)
#1F3546
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #352072;
/* rgb */ color: rgb(53, 32, 114);
/* oklch */ color: oklch(32.5% 0.133 288.5);
Tailwind
colors: {
  custom: {
    50: '#735d9b',
    500: '#352072',
    950: '#000000',
  },
}
SCSS
$custom: #352072;
$custom-light: #735d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#352072",
  "rgb": {
    "r": 53,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 255.366,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.13278,
    "h": 288.5
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#352072
secondary
#8EA648
accent
#DF48B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #352072

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

Preview Lab → · Contrast checker → · Palette generator →

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