#351962#351962

#351962 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.121 H 295.7°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#351962
RGBrgb(53, 25, 98)
HSLhsl(263, 59%, 24%)
HSVhsv(263, 74%, 38%)
CMYKcmyk(45.9%, 74.5%, 0%, 61.6%)
CIE-LABlab(17.15, 31.32, -38.18)
CIE-LCHlch(17.15, 49.38, 309.36°)
OKLaboklab(29.96% 0.0526 -0.1092)
OKLCHoklch(29.96% 0.121 295.7)
XYZxyz(4.0198, 2.3339, 11.7916)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351962 #466219
analogous
#192162 #351962 #5A1962
triadic
#351962 #623519 #196235
tetradic
#351962 #621921 #466219 #19625A
square
#351962 #621921 #466219 #19625A
split-complementary
#351962 #625A19 #216219
monochromatic
#0D0618 #1B0D31 #351962 #4F2593 #6A32C4

Accessibility & contrast

On white

14.32
#351962 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#351962 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351962
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351962#FFFFFF#000000##FFFFFF
##3519621.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002961
Tritanopia (blue-blind)
#292B3B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351962;
/* rgb */ color: rgb(53, 25, 98);
/* oklch */ color: oklch(30.0% 0.121 295.7);
Tailwind
colors: {
  custom: {
    50: '#71588f',
    500: '#351962',
    950: '#000000',
  },
}
SCSS
$custom: #351962;
$custom-light: #71588f;
$custom-dark: #000000;
JSON
{
  "hex": "#351962",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 98
  },
  "hsl": {
    "h": 263.014,
    "s": 59.35,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29961,
    "c": 0.1212,
    "h": 295.7
  },
  "luminance": 0.02334
}

Semantic roles & 50–950 ramp

primary
#351962
secondary
#76983F
accent
#E345A6
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351962

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

Preview Lab → · Contrast checker → · Palette generator →

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