#351984#351984

#351984 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.163 H 285.4°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#351984
RGBrgb(53, 25, 132)
HSLhsl(256, 68%, 31%)
HSVhsv(256, 81%, 52%)
CMYKcmyk(59.8%, 81.1%, 0%, 48.2%)
CIE-LABlab(20.51, 41.49, -54.61)
CIE-LCHlch(20.51, 68.58, 307.23°)
OKLaboklab(33.35% 0.0433 -0.1573)
OKLCHoklch(33.35% 0.163 285.4)
XYZxyz(5.9794, 3.1177, 22.1120)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351984 #688419
analogous
#193284 #351984 #6A1984
triadic
#351984 #843519 #198435
tetradic
#351984 #841932 #688419 #19846A
square
#351984 #841932 #688419 #19846A
split-complementary
#351984 #846A19 #328419
monochromatic
#0C061D #200F51 #351984 #4A23B7 #663DDA

Accessibility & contrast

On white

12.93
#351984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351984
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351984#FFFFFF#000000##FFFFFF
##3519841.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351984;
/* rgb */ color: rgb(53, 25, 132);
/* oklch */ color: oklch(33.3% 0.163 285.4);
Tailwind
colors: {
  custom: {
    50: '#775aa9',
    500: '#351984',
    950: '#000000',
  },
}
SCSS
$custom: #351984;
$custom-light: #775aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#351984",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 255.701,
    "s": 68.153,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33348,
    "c": 0.16318,
    "h": 285.4
  },
  "luminance": 0.03118
}

Semantic roles & 50–950 ramp

primary
#351984
secondary
#99B841
accent
#EB3DBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351984

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

Preview Lab → · Contrast checker → · Palette generator →

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