#351966#351966

#351966 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.126 H 294.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#351966
RGBrgb(53, 25, 102)
HSLhsl(262, 61%, 25%)
HSVhsv(262, 75%, 40%)
CMYKcmyk(48%, 75.5%, 0%, 60%)
CIE-LABlab(17.51, 32.51, -40.22)
CIE-LCHlch(17.51, 51.72, 308.94°)
OKLaboklab(30.33% 0.0518 -0.1152)
OKLCHoklch(30.33% 0.126 294.2)
XYZxyz(4.2134, 2.4113, 12.8112)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351966 #4A6619
analogous
#192466 #351966 #5B1966
triadic
#351966 #663519 #196635
tetradic
#351966 #661924 #4A6619 #19665B
square
#351966 #661924 #4A6619 #19665B
split-complementary
#351966 #665B19 #246619
monochromatic
#0D0619 #1B0D35 #351966 #4F2597 #6831C8

Accessibility & contrast

On white

14.17
#351966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351966
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351966#FFFFFF#000000##FFFFFF
##3519661.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#272D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351966;
/* rgb */ color: rgb(53, 25, 102);
/* oklch */ color: oklch(30.3% 0.126 294.2);
Tailwind
colors: {
  custom: {
    50: '#725892',
    500: '#351966',
    950: '#000000',
  },
}
SCSS
$custom: #351966;
$custom-light: #725892;
$custom-dark: #000000;
JSON
{
  "hex": "#351966",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 261.818,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30332,
    "c": 0.12629,
    "h": 294.2
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#351966
secondary
#7A9C3F
accent
#E444AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351966

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

Preview Lab → · Contrast checker → · Palette generator →

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