#351165#351165

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

Color values

HEX#351165
RGBrgb(53, 17, 101)
HSLhsl(266, 71%, 23%)
HSVhsv(266, 83%, 40%)
CMYKcmyk(47.5%, 83.2%, 0%, 60.4%)
CIE-LABlab(15.99, 36.28, -42.05)
CIE-LCHlch(15.99, 55.54, 310.78°)
OKLaboklab(29.23% 0.0597 -0.1205)
OKLCHoklch(29.23% 0.134 296.3)
XYZxyz(4.0170, 2.0973, 12.5026)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351165 #416511
analogous
#111765 #351165 #5F1165
triadic
#351165 #653511 #116535
tetradic
#351165 #651117 #416511 #11655F
square
#351165 #651117 #416511 #11655F
split-complementary
#351165 #655F11 #176511
monochromatic
#0E041A #1A0831 #351165 #501A99 #6C23CE

Accessibility & contrast

On white

14.79
#351165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351165
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351165#FFFFFF#000000##FFFFFF
##3511651.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351165;
/* rgb */ color: rgb(53, 17, 101);
/* oklch */ color: oklch(29.2% 0.134 296.3);
Tailwind
colors: {
  custom: {
    50: '#725492',
    500: '#351165',
    950: '#000000',
  },
}
SCSS
$custom: #351165;
$custom-light: #725492;
$custom-dark: #000000;
JSON
{
  "hex": "#351165",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 265.714,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29231,
    "c": 0.13447,
    "h": 296.3
  },
  "luminance": 0.02097
}

Semantic roles & 50–950 ramp

primary
#351165
secondary
#709D35
accent
#EE3AA1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351165

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

Preview Lab → · Contrast checker → · Palette generator →

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