#35105E#35105E

#35105E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.127 H 299.5°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#35105E
RGBrgb(53, 16, 94)
HSLhsl(268, 71%, 22%)
HSVhsv(268, 83%, 37%)
CMYKcmyk(43.6%, 83%, 0%, 63.1%)
CIE-LABlab(15.15, 34.80, -38.79)
CIE-LCHlch(15.15, 52.11, 311.90°)
OKLaboklab(28.43% 0.0628 -0.1109)
OKLCHoklch(28.43% 0.127 299.5)
XYZxyz(3.6734, 1.9356, 10.7676)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35105E #395E10
analogous
#10125E #35105E #5C105E
triadic
#35105E #5E3510 #105E35
tetradic
#35105E #5E1012 #395E10 #105E5C
square
#35105E #5E1012 #395E10 #105E5C
split-complementary
#35105E #5E5C10 #125E10
monochromatic
#0F041A #18072A #35105E #521992 #7022C7

Accessibility & contrast

On white

15.14
#35105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35105E
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35105E#FFFFFF#000000##FFFFFF
##35105E1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35105e;
/* rgb */ color: rgb(53, 16, 94);
/* oklch */ color: oklch(28.4% 0.127 299.5);
Tailwind
colors: {
  custom: {
    50: '#71538c',
    500: '#35105e',
    950: '#000000',
  },
}
SCSS
$custom: #35105e;
$custom-light: #71538c;
$custom-dark: #000000;
JSON
{
  "hex": "#35105e",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 268.462,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28431,
    "c": 0.12745,
    "h": 299.5
  },
  "luminance": 0.01936
}

Semantic roles & 50–950 ramp

primary
#35105E
secondary
#679733
accent
#EE3A99
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35105E

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

Preview Lab → · Contrast checker → · Palette generator →

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