#351264#351264

#351264 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.132 H 296.6°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#351264
RGBrgb(53, 18, 100)
HSLhsl(266, 69%, 23%)
HSVhsv(266, 82%, 39%)
CMYKcmyk(47%, 82%, 0%, 60.8%)
CIE-LABlab(16.05, 35.53, -41.29)
CIE-LCHlch(16.05, 54.48, 310.71°)
OKLaboklab(29.24% 0.0591 -0.1183)
OKLCHoklch(29.24% 0.132 296.6)
XYZxyz(3.9841, 2.1095, 12.2514)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351264 #416412
analogous
#121864 #351264 #5E1264
triadic
#351264 #643512 #126435
tetradic
#351264 #641218 #416412 #12645E
square
#351264 #641218 #416412 #12645E
split-complementary
#351264 #645E12 #186412
monochromatic
#0E051A #1A0930 #351264 #501B98 #6C25CC

Accessibility & contrast

On white

14.77
#351264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#351264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351264
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351264#FFFFFF#000000##FFFFFF
##3512641.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#28283B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351264;
/* rgb */ color: rgb(53, 18, 100);
/* oklch */ color: oklch(29.2% 0.132 296.6);
Tailwind
colors: {
  custom: {
    50: '#725491',
    500: '#351264',
    950: '#000000',
  },
}
SCSS
$custom: #351264;
$custom-light: #725491;
$custom-dark: #000000;
JSON
{
  "hex": "#351264",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 265.61,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29244,
    "c": 0.13223,
    "h": 296.6
  },
  "luminance": 0.0211
}

Semantic roles & 50–950 ramp

primary
#351264
secondary
#709C36
accent
#EC3BA1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351264

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

Preview Lab → · Contrast checker → · Palette generator →

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