#35105B#35105B

#35105B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.124 H 300.9°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#35105B
RGBrgb(53, 16, 91)
HSLhsl(270, 70%, 21%)
HSVhsv(270, 82%, 36%)
CMYKcmyk(41.8%, 82.4%, 0%, 64.3%)
CIE-LABlab(14.86, 33.98, -37.25)
CIE-LCHlch(14.86, 50.42, 312.38°)
OKLaboklab(28.14% 0.0637 -0.1064)
OKLCHoklch(28.14% 0.124 300.9)
XYZxyz(3.5414, 1.8828, 10.0723)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35105B #365B10
analogous
#10105B #35105B #5A105B
triadic
#35105B #5B3510 #105B35
tetradic
#35105B #5B1010 #365B10 #105B5A
square
#35105B #5B1010 #365B10 #105B5A
split-complementary
#35105B #5B5A10 #105B10
monochromatic
#0F051A #170727 #35105B #53198F #7222C3

Accessibility & contrast

On white

15.25
#35105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35105B
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35105B#FFFFFF#000000##FFFFFF
##35105B1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#2C2435
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #35105b;
/* rgb */ color: rgb(53, 16, 91);
/* oklch */ color: oklch(28.1% 0.124 300.9);
Tailwind
colors: {
  custom: {
    50: '#71538a',
    500: '#35105b',
    950: '#000000',
  },
}
SCSS
$custom: #35105b;
$custom-light: #71538a;
$custom-dark: #000000;
JSON
{
  "hex": "#35105b",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 269.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28143,
    "c": 0.124,
    "h": 300.9
  },
  "luminance": 0.01883
}

Semantic roles & 50–950 ramp

primary
#35105B
secondary
#649433
accent
#ED3B95
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #35105B

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

Preview Lab → · Contrast checker → · Palette generator →

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