#35115C#35115C

#35115C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.124 H 300.2°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#35115C
RGBrgb(53, 17, 92)
HSLhsl(269, 69%, 21%)
HSVhsv(269, 82%, 36%)
CMYKcmyk(42.4%, 81.5%, 0%, 63.9%)
CIE-LABlab(15.12, 33.78, -37.49)
CIE-LCHlch(15.12, 50.47, 312.02°)
OKLaboklab(28.35% 0.0624 -0.1071)
OKLCHoklch(28.35% 0.124 300.2)
XYZxyz(3.5999, 1.9305, 10.3061)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35115C #385C11
analogous
#11135C #35115C #5B115C
triadic
#35115C #5C3511 #115C35
tetradic
#35115C #5C1113 #385C11 #115C5B
square
#35115C #5C1113 #385C11 #115C5B
split-complementary
#35115C #5C5B11 #135C11
monochromatic
#0F051A #170728 #35115C #531B90 #7124C3

Accessibility & contrast

On white

15.15
#35115C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#35115C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35115C
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35115C#FFFFFF#000000##FFFFFF
##35115C1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35115c;
/* rgb */ color: rgb(53, 17, 92);
/* oklch */ color: oklch(28.4% 0.124 300.2);
Tailwind
colors: {
  custom: {
    50: '#71538b',
    500: '#35115c',
    950: '#000000',
  },
}
SCSS
$custom: #35115c;
$custom-light: #71538b;
$custom-dark: #000000;
JSON
{
  "hex": "#35115c",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 92
  },
  "hsl": {
    "h": 268.8,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28353,
    "c": 0.12399,
    "h": 300.2
  },
  "luminance": 0.0193
}

Semantic roles & 50–950 ramp

primary
#35115C
secondary
#669534
accent
#EC3C97
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35115C

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

Preview Lab → · Contrast checker → · Palette generator →

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