#35104D#35104D

#35104D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.108 H 308.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#35104D
RGBrgb(53, 16, 77)
HSLhsl(276, 66%, 18%)
HSVhsv(276, 79%, 30%)
CMYKcmyk(31.2%, 79.2%, 0%, 69.8%)
CIE-LABlab(13.61, 30.26, -29.76)
CIE-LCHlch(13.61, 42.44, 315.47°)
OKLaboklab(26.87% 0.067 -0.0844)
OKLCHoklch(26.87% 0.108 308.5)
XYZxyz(2.9928, 1.6633, 7.1831)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35104D #284D10
analogous
#16104D #35104D #4D1046
triadic
#35104D #4D3510 #104D35
tetradic
#35104D #4D1610 #284D10 #10464D
square
#35104D #4D1610 #284D10 #10464D
split-complementary
#35104D #464D10 #104D16
monochromatic
#110519 #12051A #35104D #581B80 #7B25B2

Accessibility & contrast

On white

15.76
#35104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#35104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35104D
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35104D#FFFFFF#000000##FFFFFF
##35104D1.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214F
Deuteranopia (green-blind)
#02234C
Tritanopia (blue-blind)
#311E2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #35104d;
/* rgb */ color: rgb(53, 16, 77);
/* oklch */ color: oklch(26.9% 0.108 308.5);
Tailwind
colors: {
  custom: {
    50: '#6f527f',
    500: '#35104d',
    950: '#000000',
  },
}
SCSS
$custom: #35104d;
$custom-light: #6f527f;
$custom-dark: #000000;
JSON
{
  "hex": "#35104d",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 276.393,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.26872,
    "c": 0.10777,
    "h": 308.5
  },
  "luminance": 0.01663
}

Semantic roles & 50–950 ramp

primary
#35104D
secondary
#538732
accent
#E93F82
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #35104D

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

Preview Lab → · Contrast checker → · Palette generator →

#35104D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva