#352287#352287

#352287 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.158 H 283.2°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#352287
RGBrgb(53, 34, 135)
HSLhsl(251, 60%, 33%)
HSVhsv(251, 75%, 53%)
CMYKcmyk(60.7%, 74.8%, 0%, 47.1%)
CIE-LABlab(22.48, 37.69, -53.26)
CIE-LCHlch(22.48, 65.24, 305.29°)
OKLaboklab(34.82% 0.0359 -0.1534)
OKLCHoklch(34.82% 0.158 283.2)
XYZxyz(6.4120, 3.6498, 23.2836)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352287 #748722
analogous
#224187 #352287 #672287
triadic
#352287 #873522 #228735
tetradic
#352287 #872241 #748722 #228767
square
#352287 #872241 #748722 #228767
split-complementary
#352287 #876722 #418722
monochromatic
#0F0925 #221656 #352287 #482EB8 #6950D3

Accessibility & contrast

On white

12.14
#352287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#352287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352287
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352287#FFFFFF#000000##FFFFFF
##3522871.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398A
Deuteranopia (green-blind)
#003285
Tritanopia (blue-blind)
#013E52
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #352287;
/* rgb */ color: rgb(53, 34, 135);
/* oklch */ color: oklch(34.8% 0.158 283.2);
Tailwind
colors: {
  custom: {
    50: '#775fab',
    500: '#352287',
    950: '#000000',
  },
}
SCSS
$custom: #352287;
$custom-light: #775fab;
$custom-dark: #000000;
JSON
{
  "hex": "#352287",
  "rgb": {
    "r": 53,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 251.287,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34823,
    "c": 0.15759,
    "h": 283.2
  },
  "luminance": 0.0365
}

Semantic roles & 50–950 ramp

primary
#352287
secondary
#A3B74E
accent
#E345C5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #352287

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

Preview Lab → · Contrast checker → · Palette generator →

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