#35104A#35104A

#35104A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.6% C 0.104 H 310.4°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#35104A
RGBrgb(53, 16, 74)
HSLhsl(278, 64%, 18%)
HSVhsv(278, 78%, 29%)
CMYKcmyk(28.4%, 78.4%, 0%, 71%)
CIE-LABlab(13.36, 29.48, -28.09)
CIE-LCHlch(13.36, 40.72, 316.39°)
OKLaboklab(26.62% 0.0675 -0.0795)
OKLCHoklch(26.62% 0.104 310.4)
XYZxyz(2.8893, 1.6219, 6.6381)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35104A #254A10
analogous
#18104A #35104A #4A1042
triadic
#35104A #4A3510 #104A35
tetradic
#35104A #4A1810 #254A10 #10424A
square
#35104A #4A1810 #254A10 #10424A
split-complementary
#35104A #424A10 #104A18
monochromatic
#120519 #120519 #35104A #591B7C #7D26AF

Accessibility & contrast

On white

15.86
#35104A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#35104A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35104A
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35104A#FFFFFF#000000##FFFFFF
##35104A1.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#062349
Tritanopia (blue-blind)
#321D2B
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #35104a;
/* rgb */ color: rgb(53, 16, 74);
/* oklch */ color: oklch(26.6% 0.104 310.4);
Tailwind
colors: {
  custom: {
    50: '#6f527d',
    500: '#35104a',
    950: '#000000',
  },
}
SCSS
$custom: #35104a;
$custom-light: #6f527d;
$custom-dark: #000000;
JSON
{
  "hex": "#35104a",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 74
  },
  "hsl": {
    "h": 278.276,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26618,
    "c": 0.1043,
    "h": 310.4
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#35104A
secondary
#508432
accent
#E7407D
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #35104A

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

Preview Lab → · Contrast checker → · Palette generator →

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