#351884#351884

#351884 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.164 H 285.5°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#351884
RGBrgb(53, 24, 132)
HSLhsl(256, 69%, 31%)
HSVhsv(256, 82%, 52%)
CMYKcmyk(59.8%, 81.8%, 0%, 48.2%)
CIE-LABlab(20.34, 41.97, -54.88)
CIE-LCHlch(20.34, 69.09, 307.40°)
OKLaboklab(33.23% 0.044 -0.1581)
OKLCHoklch(33.23% 0.164 285.5)
XYZxyz(5.9584, 3.0757, 22.1050)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351884 #678418
analogous
#183184 #351884 #6B1884
triadic
#351884 #843518 #188435
tetradic
#351884 #841831 #678418 #18846B
square
#351884 #841831 #678418 #18846B
split-complementary
#351884 #846B18 #318418
monochromatic
#0B051C #200F50 #351884 #4A21B8 #663BDB

Accessibility & contrast

On white

13.00
#351884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351884
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351884#FFFFFF#000000##FFFFFF
##3518841.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002E82
Tritanopia (blue-blind)
#09384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351884;
/* rgb */ color: rgb(53, 24, 132);
/* oklch */ color: oklch(33.2% 0.164 285.5);
Tailwind
colors: {
  custom: {
    50: '#775aa9',
    500: '#351884',
    950: '#000000',
  },
}
SCSS
$custom: #351884;
$custom-light: #775aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#351884",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 256.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33233,
    "c": 0.16411,
    "h": 285.5
  },
  "luminance": 0.03076
}

Semantic roles & 50–950 ramp

primary
#351884
secondary
#98B840
accent
#EC3CBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351884

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

Preview Lab → · Contrast checker → · Palette generator →

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