#351562#351562

#351562 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.126 H 296.7°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#351562
RGBrgb(53, 21, 98)
HSLhsl(265, 65%, 23%)
HSVhsv(265, 79%, 38%)
CMYKcmyk(45.9%, 78.6%, 0%, 61.6%)
CIE-LABlab(16.38, 33.48, -39.43)
CIE-LCHlch(16.38, 51.73, 310.33°)
OKLaboklab(29.42% 0.0568 -0.1128)
OKLCHoklch(29.42% 0.126 296.7)
XYZxyz(3.9404, 2.1750, 11.7651)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351562 #426215
analogous
#151B62 #351562 #5B1562
triadic
#351562 #623515 #156235
tetradic
#351562 #62151B #426215 #15625B
square
#351562 #62151B #426215 #15625B
split-complementary
#351562 #625B15 #1B6215
monochromatic
#0E0519 #1A0A30 #351562 #502094 #6C2BC7

Accessibility & contrast

On white

14.63
#351562 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#351562 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351562
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351562#FFFFFF#000000##FFFFFF
##3515621.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002860
Tritanopia (blue-blind)
#29293A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351562;
/* rgb */ color: rgb(53, 21, 98);
/* oklch */ color: oklch(29.4% 0.126 296.7);
Tailwind
colors: {
  custom: {
    50: '#71568f',
    500: '#351562',
    950: '#000000',
  },
}
SCSS
$custom: #351562;
$custom-light: #71568f;
$custom-dark: #000000;
JSON
{
  "hex": "#351562",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 98
  },
  "hsl": {
    "h": 264.935,
    "s": 64.706,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29415,
    "c": 0.12635,
    "h": 296.7
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#351562
secondary
#71993A
accent
#E840A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351562

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

Preview Lab → · Contrast checker → · Palette generator →

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