#351266#351266

#351266 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.135 H 295.8°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#351266
RGBrgb(53, 18, 102)
HSLhsl(265, 70%, 24%)
HSVhsv(265, 82%, 40%)
CMYKcmyk(48%, 82.4%, 0%, 60%)
CIE-LABlab(16.25, 36.10, -42.29)
CIE-LCHlch(16.25, 55.60, 310.48°)
OKLaboklab(29.44% 0.0585 -0.1212)
OKLCHoklch(29.44% 0.135 295.8)
XYZxyz(4.0821, 2.1487, 12.7675)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351266 #436612
analogous
#121966 #351266 #5F1266
triadic
#351266 #663512 #126635
tetradic
#351266 #661219 #436612 #12665F
square
#351266 #661219 #436612 #12665F
split-complementary
#351266 #665F12 #196612
monochromatic
#0E051A #1A0932 #351266 #501B9A #6B24CE

Accessibility & contrast

On white

14.69
#351266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#351266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351266
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351266#FFFFFF#000000##FFFFFF
##3512661.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351266;
/* rgb */ color: rgb(53, 18, 102);
/* oklch */ color: oklch(29.4% 0.135 295.8);
Tailwind
colors: {
  custom: {
    50: '#725592',
    500: '#351266',
    950: '#000000',
  },
}
SCSS
$custom: #351266;
$custom-light: #725592;
$custom-dark: #000000;
JSON
{
  "hex": "#351266",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 102
  },
  "hsl": {
    "h": 265,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29442,
    "c": 0.13458,
    "h": 295.8
  },
  "luminance": 0.02149
}

Semantic roles & 50–950 ramp

primary
#351266
secondary
#739E36
accent
#ED3BA3
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351266

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

Preview Lab → · Contrast checker → · Palette generator →

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