#35105D#35105D

#35105D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.126 H 300.0°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#35105D
RGBrgb(53, 16, 93)
HSLhsl(269, 71%, 21%)
HSVhsv(269, 83%, 36%)
CMYKcmyk(43%, 82.8%, 0%, 63.5%)
CIE-LABlab(15.05, 34.53, -38.28)
CIE-LCHlch(15.05, 51.55, 312.05°)
OKLaboklab(28.34% 0.0631 -0.1094)
OKLCHoklch(28.34% 0.126 300)
XYZxyz(3.6288, 1.9177, 10.5328)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35105D #385D10
analogous
#10125D #35105D #5C105D
triadic
#35105D #5D3510 #105D35
tetradic
#35105D #5D1012 #385D10 #105D5C
square
#35105D #5D1012 #385D10 #105D5C
split-complementary
#35105D #5D5C10 #125D10
monochromatic
#0F041A #170729 #35105D #531991 #7122C5

Accessibility & contrast

On white

15.18
#35105D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#35105D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35105D
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35105D#FFFFFF#000000##FFFFFF
##35105D1.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00255C
Tritanopia (blue-blind)
#2C2536
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35105d;
/* rgb */ color: rgb(53, 16, 93);
/* oklch */ color: oklch(28.3% 0.126 300.0);
Tailwind
colors: {
  custom: {
    50: '#71538c',
    500: '#35105d',
    950: '#000000',
  },
}
SCSS
$custom: #35105d;
$custom-light: #71538c;
$custom-dark: #000000;
JSON
{
  "hex": "#35105d",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 93
  },
  "hsl": {
    "h": 268.831,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28335,
    "c": 0.1263,
    "h": 300
  },
  "luminance": 0.01918
}

Semantic roles & 50–950 ramp

primary
#35105D
secondary
#669633
accent
#ED3A97
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35105D

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

Preview Lab → · Contrast checker → · Palette generator →

#35105D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva