#35115E#35115E

#35115E is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.126 H 299.3°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#35115E
RGBrgb(53, 17, 94)
HSLhsl(268, 69%, 22%)
HSVhsv(268, 82%, 37%)
CMYKcmyk(43.6%, 81.9%, 0%, 63.1%)
CIE-LABlab(15.31, 34.34, -38.52)
CIE-LCHlch(15.31, 51.60, 311.71°)
OKLaboklab(28.54% 0.0619 -0.1101)
OKLCHoklch(28.54% 0.126 299.3)
XYZxyz(3.6885, 1.9659, 10.7726)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35115E #3A5E11
analogous
#11145E #35115E #5C115E
triadic
#35115E #5E3511 #115E35
tetradic
#35115E #5E1114 #3A5E11 #115E5C
square
#35115E #5E1114 #3A5E11 #115E5C
split-complementary
#35115E #5E5C11 #145E11
monochromatic
#0F051A #18082A #35115E #521A92 #6F24C6

Accessibility & contrast

On white

15.07
#35115E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35115E
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35115E#FFFFFF#000000##FFFFFF
##35115E1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#2B2637
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35115e;
/* rgb */ color: rgb(53, 17, 94);
/* oklch */ color: oklch(28.5% 0.126 299.3);
Tailwind
colors: {
  custom: {
    50: '#71548c',
    500: '#35115e',
    950: '#000000',
  },
}
SCSS
$custom: #35115e;
$custom-light: #71548c;
$custom-dark: #000000;
JSON
{
  "hex": "#35115e",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 94
  },
  "hsl": {
    "h": 268.052,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28544,
    "c": 0.12633,
    "h": 299.3
  },
  "luminance": 0.01966
}

Semantic roles & 50–950 ramp

primary
#35115E
secondary
#699734
accent
#EC3C9A
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35115E

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

Preview Lab → · Contrast checker → · Palette generator →

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