#351964#351964

#351964 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.1% C 0.124 H 295.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#351964
RGBrgb(53, 25, 100)
HSLhsl(262, 60%, 25%)
HSVhsv(262, 75%, 39%)
CMYKcmyk(47%, 75%, 0%, 60.8%)
CIE-LABlab(17.33, 31.91, -39.20)
CIE-LCHlch(17.33, 50.55, 309.15°)
OKLaboklab(30.15% 0.0522 -0.1122)
OKLCHoklch(30.15% 0.124 295)
XYZxyz(4.1155, 2.3721, 12.2952)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351964 #486419
analogous
#192364 #351964 #5B1964
triadic
#351964 #643519 #196435
tetradic
#351964 #641923 #486419 #19645B
square
#351964 #641923 #486419 #19645B
split-complementary
#351964 #645B19 #236419
monochromatic
#0D0618 #1B0D33 #351964 #4F2595 #6931C6

Accessibility & contrast

On white

14.24
#351964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351964
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351964#FFFFFF#000000##FFFFFF
##3519641.0014.241.4714.24
#FFFFFF14.241.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#282C3C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351964;
/* rgb */ color: rgb(53, 25, 100);
/* oklch */ color: oklch(30.1% 0.124 295.0);
Tailwind
colors: {
  custom: {
    50: '#715891',
    500: '#351964',
    950: '#000000',
  },
}
SCSS
$custom: #351964;
$custom-light: #715891;
$custom-dark: #000000;
JSON
{
  "hex": "#351964",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 262.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30145,
    "c": 0.12375,
    "h": 295
  },
  "luminance": 0.02372
}

Semantic roles & 50–950 ramp

primary
#351964
secondary
#789A3F
accent
#E345A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351964

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

Preview Lab → · Contrast checker → · Palette generator →

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