#35115B#35115B

#35115B is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.123 H 300.7°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#35115B
RGBrgb(53, 17, 91)
HSLhsl(269, 69%, 21%)
HSVhsv(269, 81%, 36%)
CMYKcmyk(41.8%, 81.3%, 0%, 64.3%)
CIE-LABlab(15.02, 33.51, -36.98)
CIE-LCHlch(15.02, 49.90, 312.18°)
OKLaboklab(28.26% 0.0627 -0.1056)
OKLCHoklch(28.26% 0.123 300.7)
XYZxyz(3.5565, 1.9131, 10.0774)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35115B #375B11
analogous
#11125B #35115B #5A115B
triadic
#35115B #5B3511 #115B35
tetradic
#35115B #5B1112 #375B11 #115B5A
square
#35115B #5B1112 #375B11 #115B5A
split-complementary
#35115B #5B5A11 #125B11
monochromatic
#0F051A #170727 #35115B #531B8F #7124C2

Accessibility & contrast

On white

15.19
#35115B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35115B
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35115B#FFFFFF#000000##FFFFFF
##35115B1.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35115b;
/* rgb */ color: rgb(53, 17, 91);
/* oklch */ color: oklch(28.3% 0.123 300.7);
Tailwind
colors: {
  custom: {
    50: '#71538a',
    500: '#35115b',
    950: '#000000',
  },
}
SCSS
$custom: #35115b;
$custom-light: #71538a;
$custom-dark: #000000;
JSON
{
  "hex": "#35115b",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 91
  },
  "hsl": {
    "h": 269.189,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.12282,
    "h": 300.7
  },
  "luminance": 0.01913
}

Semantic roles & 50–950 ramp

primary
#35115B
secondary
#659434
accent
#EB3C96
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35115B

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

Preview Lab → · Contrast checker → · Palette generator →

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