#351982#351982

#351982 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.161 H 285.9°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#351982
RGBrgb(53, 25, 130)
HSLhsl(256, 68%, 30%)
HSVhsv(256, 81%, 51%)
CMYKcmyk(59.2%, 80.8%, 0%, 49%)
CIE-LABlab(20.30, 40.89, -53.70)
CIE-LCHlch(20.30, 67.50, 307.29°)
OKLaboklab(33.14% 0.0439 -0.1547)
OKLCHoklch(33.14% 0.161 285.9)
XYZxyz(5.8439, 3.0635, 21.3981)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351982 #668219
analogous
#193182 #351982 #691982
triadic
#351982 #823519 #198235
tetradic
#351982 #821931 #668219 #198269
square
#351982 #821931 #668219 #198269
split-complementary
#351982 #826919 #318219
monochromatic
#0B051B #200F4F #351982 #4A23B5 #663CD9

Accessibility & contrast

On white

13.02
#351982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351982
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351982#FFFFFF#000000##FFFFFF
##3519821.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003485
Deuteranopia (green-blind)
#002E80
Tritanopia (blue-blind)
#0D384D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351982;
/* rgb */ color: rgb(53, 25, 130);
/* oklch */ color: oklch(33.1% 0.161 285.9);
Tailwind
colors: {
  custom: {
    50: '#765aa7',
    500: '#351982',
    950: '#000000',
  },
}
SCSS
$custom: #351982;
$custom-light: #765aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#351982",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 256,
    "s": 67.742,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33136,
    "c": 0.16079,
    "h": 285.9
  },
  "luminance": 0.03064
}

Semantic roles & 50–950 ramp

primary
#351982
secondary
#97B641
accent
#EB3DBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351982

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

Preview Lab → · Contrast checker → · Palette generator →

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