#351064#351064

#351064 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.134 H 296.9°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#351064
RGBrgb(53, 16, 100)
HSLhsl(266, 72%, 23%)
HSVhsv(266, 84%, 39%)
CMYKcmyk(47%, 84%, 0%, 60.8%)
CIE-LABlab(15.73, 36.45, -41.81)
CIE-LCHlch(15.73, 55.47, 311.08°)
OKLaboklab(29.02% 0.0609 -0.1198)
OKLCHoklch(29.02% 0.134 296.9)
XYZxyz(3.9531, 2.0475, 12.2410)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351064 #3F6410
analogous
#101564 #351064 #5F1064
triadic
#351064 #643510 #106435
tetradic
#351064 #641015 #3F6410 #10645F
square
#351064 #641015 #3F6410 #10645F
split-complementary
#351064 #645F10 #156410
monochromatic
#0E041A #19082F #351064 #511899 #6D21CE

Accessibility & contrast

On white

14.90
#351064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351064
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351064#FFFFFF#000000##FFFFFF
##3510641.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#28283A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351064;
/* rgb */ color: rgb(53, 16, 100);
/* oklch */ color: oklch(29.0% 0.134 296.9);
Tailwind
colors: {
  custom: {
    50: '#725391',
    500: '#351064',
    950: '#000000',
  },
}
SCSS
$custom: #351064;
$custom-light: #725391;
$custom-dark: #000000;
JSON
{
  "hex": "#351064",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 266.429,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29023,
    "c": 0.13436,
    "h": 296.9
  },
  "luminance": 0.02048
}

Semantic roles & 50–950 ramp

primary
#351064
secondary
#6E9D33
accent
#EF399F
background
#F7F4F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351064

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

Preview Lab → · Contrast checker → · Palette generator →

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