#351882#351882

#351882 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.162 H 286.0°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#351882
RGBrgb(53, 24, 130)
HSLhsl(256, 69%, 30%)
HSVhsv(256, 82%, 51%)
CMYKcmyk(59.2%, 81.5%, 0%, 49%)
CIE-LABlab(20.13, 41.38, -53.97)
CIE-LCHlch(20.13, 68.01, 307.47°)
OKLaboklab(33.02% 0.0446 -0.1555)
OKLCHoklch(33.02% 0.162 286)
XYZxyz(5.8229, 3.0215, 21.3911)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351882 #658218
analogous
#183082 #351882 #6A1882
triadic
#351882 #823518 #188235
tetradic
#351882 #821830 #658218 #18826A
square
#351882 #821830 #658218 #18826A
split-complementary
#351882 #826A18 #308218
monochromatic
#0B051B #200E4E #351882 #4A22B6 #663ADB

Accessibility & contrast

On white

13.09
#351882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351882
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351882#FFFFFF#000000##FFFFFF
##3518821.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003385
Deuteranopia (green-blind)
#002D80
Tritanopia (blue-blind)
#0D374D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351882;
/* rgb */ color: rgb(53, 24, 130);
/* oklch */ color: oklch(33.0% 0.162 286.0);
Tailwind
colors: {
  custom: {
    50: '#7759a7',
    500: '#351882',
    950: '#000000',
  },
}
SCSS
$custom: #351882;
$custom-light: #7759a7;
$custom-dark: #000000;
JSON
{
  "hex": "#351882",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 256.415,
    "s": 68.831,
    "l": 30.196
  },
  "oklch": {
    "l": 0.3302,
    "c": 0.16174,
    "h": 286
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#351882
secondary
#96B640
accent
#EC3CBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351882

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

Preview Lab → · Contrast checker → · Palette generator →

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