#35115A#35115A

#35115A is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.122 H 301.2°. Best body text is #FFFFFF at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#35115A
RGBrgb(53, 17, 90)
HSLhsl(270, 68%, 21%)
HSVhsv(270, 81%, 35%)
CMYKcmyk(41.1%, 81.1%, 0%, 64.7%)
CIE-LABlab(14.93, 33.24, -36.46)
CIE-LCHlch(14.93, 49.34, 312.36°)
OKLaboklab(28.16% 0.063 -0.1041)
OKLCHoklch(28.16% 0.122 301.2)
XYZxyz(3.5137, 1.8959, 9.8517)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35115A #365A11
analogous
#11115A #35115A #59115A
triadic
#35115A #5A3511 #115A35
tetradic
#35115A #5A1111 #365A11 #115A59
square
#35115A #5A1111 #365A11 #115A59
split-complementary
#35115A #5A5911 #115A11
monochromatic
#0F051A #170727 #35115A #531B8D #7224C1

Accessibility & contrast

On white

15.23
#35115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35115A
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35115A#FFFFFF#000000##FFFFFF
##35115A1.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#2D2435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35115a;
/* rgb */ color: rgb(53, 17, 90);
/* oklch */ color: oklch(28.2% 0.122 301.2);
Tailwind
colors: {
  custom: {
    50: '#715389',
    500: '#35115a',
    950: '#000000',
  },
}
SCSS
$custom: #35115a;
$custom-light: #715389;
$custom-dark: #000000;
JSON
{
  "hex": "#35115a",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 269.589,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28164,
    "c": 0.12166,
    "h": 301.2
  },
  "luminance": 0.01896
}

Semantic roles & 50–950 ramp

primary
#35115A
secondary
#649334
accent
#EB3D95
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35115A

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

Preview Lab → · Contrast checker → · Palette generator →

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