#351992#351992

#351992 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.180 H 282.4°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#351992
RGBrgb(53, 25, 146)
HSLhsl(254, 71%, 34%)
HSVhsv(254, 83%, 57%)
CMYKcmyk(63.7%, 82.9%, 0%, 42.7%)
CIE-LABlab(22.04, 45.64, -60.83)
CIE-LCHlch(22.04, 76.05, 306.88°)
OKLaboklab(34.87% 0.0386 -0.1755)
OKLCHoklch(34.87% 0.18 282.4)
XYZxyz(7.0025, 3.5270, 27.5003)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351992 #769219
analogous
#193992 #351992 #711992
triadic
#351992 #923519 #199235
tetradic
#351992 #921939 #769219 #199271
square
#351992 #921939 #769219 #199271
split-complementary
#351992 #927119 #399219
monochromatic
#0F0729 #22105E #351992 #4822C6 #6A46DF

Accessibility & contrast

On white

12.31
#351992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#351992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351992
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351992#FFFFFF#000000##FFFFFF
##3519921.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003995
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #351992;
/* rgb */ color: rgb(53, 25, 146);
/* oklch */ color: oklch(34.9% 0.180 282.4);
Tailwind
colors: {
  custom: {
    50: '#7a5bb3',
    500: '#351992',
    950: '#000000',
  },
}
SCSS
$custom: #351992;
$custom-light: #7a5bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#351992",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 253.884,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34865,
    "c": 0.17968,
    "h": 282.4
  },
  "luminance": 0.03527
}

Semantic roles & 50–950 ramp

primary
#351992
secondary
#A4C146
accent
#EE3AC4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351992

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

Preview Lab → · Contrast checker → · Palette generator →

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