#351166#351166

#351166 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.136 H 295.9°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#351166
RGBrgb(53, 17, 102)
HSLhsl(265, 71%, 23%)
HSVhsv(265, 83%, 40%)
CMYKcmyk(48%, 83.3%, 0%, 60%)
CIE-LABlab(16.09, 36.56, -42.55)
CIE-LCHlch(16.09, 56.10, 310.67°)
OKLaboklab(29.33% 0.0593 -0.122)
OKLCHoklch(29.33% 0.136 295.9)
XYZxyz(4.0663, 2.1170, 12.7622)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351166 #426611
analogous
#111766 #351166 #5F1166
triadic
#351166 #663511 #116635
tetradic
#351166 #661117 #426611 #11665F
square
#351166 #661117 #426611 #11665F
split-complementary
#351166 #665F11 #176611
monochromatic
#0E041A #1A0832 #351166 #501A9A #6C22CF

Accessibility & contrast

On white

14.75
#351166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351166
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351166#FFFFFF#000000##FFFFFF
##3511661.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002868
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#27293B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351166;
/* rgb */ color: rgb(53, 17, 102);
/* oklch */ color: oklch(29.3% 0.136 295.9);
Tailwind
colors: {
  custom: {
    50: '#725492',
    500: '#351166',
    950: '#000000',
  },
}
SCSS
$custom: #351166;
$custom-light: #725492;
$custom-dark: #000000;
JSON
{
  "hex": "#351166",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 102
  },
  "hsl": {
    "h": 265.412,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29331,
    "c": 0.13563,
    "h": 295.9
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#351166
secondary
#719E35
accent
#EE3AA2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351166

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

Preview Lab → · Contrast checker → · Palette generator →

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