#35115F#35115F

#35115F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.128 H 298.9°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#35115F
RGBrgb(53, 17, 95)
HSLhsl(268, 70%, 22%)
HSVhsv(268, 82%, 37%)
CMYKcmyk(44.2%, 82.1%, 0%, 62.7%)
CIE-LABlab(15.40, 34.61, -39.03)
CIE-LCHlch(15.40, 52.17, 311.56°)
OKLaboklab(28.64% 0.0616 -0.1116)
OKLCHoklch(28.64% 0.128 298.9)
XYZxyz(3.7337, 1.9840, 11.0105)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35115F #3B5F11
analogous
#11145F #35115F #5C115F
triadic
#35115F #5F3511 #115F35
tetradic
#35115F #5F1114 #3B5F11 #115F5C
square
#35115F #5F1114 #3B5F11 #115F5C
split-complementary
#35115F #5F5C11 #145F11
monochromatic
#0E051A #18082B #35115F #521A93 #6F24C7

Accessibility & contrast

On white

15.03
#35115F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#35115F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35115F
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35115F#FFFFFF#000000##FFFFFF
##35115F1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00265E
Tritanopia (blue-blind)
#2B2637
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35115f;
/* rgb */ color: rgb(53, 17, 95);
/* oklch */ color: oklch(28.6% 0.128 298.9);
Tailwind
colors: {
  custom: {
    50: '#71548d',
    500: '#35115f',
    950: '#000000',
  },
}
SCSS
$custom: #35115f;
$custom-light: #71548d;
$custom-dark: #000000;
JSON
{
  "hex": "#35115f",
  "rgb": {
    "r": 53,
    "g": 17,
    "b": 95
  },
  "hsl": {
    "h": 267.692,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28641,
    "c": 0.1275,
    "h": 298.9
  },
  "luminance": 0.01984
}

Semantic roles & 50–950 ramp

primary
#35115F
secondary
#6A9834
accent
#EC3B9B
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35115F

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

Preview Lab → · Contrast checker → · Palette generator →

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