#352487#352487

#352487 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.1% C 0.155 H 282.7°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#352487
RGBrgb(53, 36, 135)
HSLhsl(250, 58%, 34%)
HSVhsv(250, 73%, 53%)
CMYKcmyk(60.7%, 73.3%, 0%, 47.1%)
CIE-LABlab(22.89, 36.55, -52.59)
CIE-LCHlch(22.89, 64.04, 304.80°)
OKLaboklab(35.11% 0.0343 -0.1515)
OKLCHoklch(35.11% 0.155 282.7)
XYZxyz(6.4709, 3.7675, 23.3032)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352487 #768724
analogous
#244487 #352487 #662487
triadic
#352487 #873524 #248735
tetradic
#352487 #872444 #768724 #248766
square
#352487 #872444 #768724 #248766
split-complementary
#352487 #876624 #448724
monochromatic
#0F0A26 #221757 #352487 #4831B7 #6A54D1

Accessibility & contrast

On white

11.98
#352487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#352487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352487
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352487#FFFFFF#000000##FFFFFF
##3524871.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003385
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #352487;
/* rgb */ color: rgb(53, 36, 135);
/* oklch */ color: oklch(35.1% 0.155 282.7);
Tailwind
colors: {
  custom: {
    50: '#7661ab',
    500: '#352487',
    950: '#000000',
  },
}
SCSS
$custom: #352487;
$custom-light: #7661ab;
$custom-dark: #000000;
JSON
{
  "hex": "#352487",
  "rgb": {
    "r": 53,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 250.303,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35114,
    "c": 0.15533,
    "h": 282.7
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#352487
secondary
#A4B551
accent
#E147C7
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352487

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

Preview Lab → · Contrast checker → · Palette generator →

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