#351462#351462

#351462 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.128 H 297.0°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#351462
RGBrgb(53, 20, 98)
HSLhsl(265, 66%, 23%)
HSVhsv(265, 80%, 38%)
CMYKcmyk(45.9%, 79.6%, 0%, 61.6%)
CIE-LABlab(16.20, 33.99, -39.73)
CIE-LCHlch(16.20, 52.28, 310.55°)
OKLaboklab(29.29% 0.0578 -0.1137)
OKLCHoklch(29.29% 0.128 297)
XYZxyz(3.9224, 2.1390, 11.7591)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351462 #416214
analogous
#141A62 #351462 #5C1462
triadic
#351462 #623514 #146235
tetradic
#351462 #62141A #416214 #14625C
square
#351462 #62141A #416214 #14625C
split-complementary
#351462 #625C14 #1A6214
monochromatic
#0E0519 #1A0A2F #351462 #501E95 #6C29C8

Accessibility & contrast

On white

14.71
#351462 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351462 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351462
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351462#FFFFFF#000000##FFFFFF
##3514621.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351462;
/* rgb */ color: rgb(53, 20, 98);
/* oklch */ color: oklch(29.3% 0.128 297.0);
Tailwind
colors: {
  custom: {
    50: '#71558f',
    500: '#351462',
    950: '#000000',
  },
}
SCSS
$custom: #351462;
$custom-light: #71558f;
$custom-dark: #000000;
JSON
{
  "hex": "#351462",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 98
  },
  "hsl": {
    "h": 265.385,
    "s": 66.102,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29289,
    "c": 0.12756,
    "h": 297
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#351462
secondary
#709938
accent
#E93FA1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351462

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

Preview Lab → · Contrast checker → · Palette generator →

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