#352387#352387

#352387 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.156 H 283.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#352387
RGBrgb(53, 35, 135)
HSLhsl(251, 59%, 33%)
HSVhsv(251, 74%, 53%)
CMYKcmyk(60.7%, 74.1%, 0%, 47.1%)
CIE-LABlab(22.68, 37.12, -52.92)
CIE-LCHlch(22.68, 64.64, 305.05°)
OKLaboklab(34.97% 0.0351 -0.1525)
OKLCHoklch(34.97% 0.156 283)
XYZxyz(6.4411, 3.7078, 23.2932)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#352387 #758723
analogous
#234387 #352387 #672387
triadic
#352387 #873523 #238735
tetradic
#352387 #872343 #758723 #238767
square
#352387 #872343 #758723 #238767
split-complementary
#352387 #876723 #438723
monochromatic
#0F0A26 #221656 #352387 #4830B8 #6952D2

Accessibility & contrast

On white

12.06
#352387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#352387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #352387
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##352387#FFFFFF#000000##FFFFFF
##3523871.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #352387;
/* rgb */ color: rgb(53, 35, 135);
/* oklch */ color: oklch(35.0% 0.156 283.0);
Tailwind
colors: {
  custom: {
    50: '#7760ab',
    500: '#352387',
    950: '#000000',
  },
}
SCSS
$custom: #352387;
$custom-light: #7760ab;
$custom-dark: #000000;
JSON
{
  "hex": "#352387",
  "rgb": {
    "r": 53,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 250.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34967,
    "c": 0.15646,
    "h": 283
  },
  "luminance": 0.03708
}

Semantic roles & 50–950 ramp

primary
#352387
secondary
#A4B650
accent
#E246C6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #352387

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

Preview Lab → · Contrast checker → · Palette generator →

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