#351996#351996

#351996 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.184 H 281.7°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#351996
RGBrgb(53, 25, 150)
HSLhsl(253, 71%, 34%)
HSVhsv(253, 83%, 59%)
CMYKcmyk(64.7%, 83.3%, 0%, 41.2%)
CIE-LABlab(22.49, 46.81, -62.56)
CIE-LCHlch(22.49, 78.14, 306.80°)
OKLaboklab(35.31% 0.0373 -0.1805)
OKLCHoklch(35.31% 0.184 281.7)
XYZxyz(7.3191, 3.6536, 29.1678)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351996 #7A9619
analogous
#193C96 #351996 #741996
triadic
#351996 #963519 #199635
tetradic
#351996 #96193C #7A9619 #199674
square
#351996 #96193C #7A9619 #199674
split-complementary
#351996 #967419 #3C9619
monochromatic
#10082D #221062 #351996 #4822CA #6B49E1

Accessibility & contrast

On white

12.13
#351996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351996
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351996#FFFFFF#000000##FFFFFF
##3519961.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A99
Deuteranopia (green-blind)
#003194
Tritanopia (blue-blind)
#004059
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #351996;
/* rgb */ color: rgb(53, 25, 150);
/* oklch */ color: oklch(35.3% 0.184 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a5bb6',
    500: '#351996',
    950: '#000000',
  },
}
SCSS
$custom: #351996;
$custom-light: #7a5bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#351996",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 253.44,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35308,
    "c": 0.18432,
    "h": 281.7
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#351996
secondary
#A7C249
accent
#EE3AC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #351996

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

Preview Lab → · Contrast checker → · Palette generator →

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