#35104B#35104B

#35104B is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.7% C 0.105 H 309.7°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#35104B
RGBrgb(53, 16, 75)
HSLhsl(278, 65%, 18%)
HSVhsv(278, 79%, 29%)
CMYKcmyk(29.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(13.44, 29.74, -28.65)
CIE-LCHlch(13.44, 41.29, 316.07°)
OKLaboklab(26.7% 0.0674 -0.0811)
OKLCHoklch(26.7% 0.105 309.7)
XYZxyz(2.9232, 1.6355, 6.8169)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35104B #264B10
analogous
#17104B #35104B #4B1043
triadic
#35104B #4B3510 #104B35
tetradic
#35104B #4B1710 #264B10 #10434B
square
#35104B #4B1710 #264B10 #10434B
split-complementary
#35104B #434B10 #104B17
monochromatic
#120519 #120519 #35104B #591B7D #7C26B0

Accessibility & contrast

On white

15.83
#35104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35104B
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35104B#FFFFFF#000000##FFFFFF
##35104B1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#05234A
Tritanopia (blue-blind)
#321D2C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #35104b;
/* rgb */ color: rgb(53, 16, 75);
/* oklch */ color: oklch(26.7% 0.105 309.7);
Tailwind
colors: {
  custom: {
    50: '#6f527e',
    500: '#35104b',
    950: '#000000',
  },
}
SCSS
$custom: #35104b;
$custom-light: #6f527e;
$custom-dark: #000000;
JSON
{
  "hex": "#35104b",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 277.627,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26702,
    "c": 0.10545,
    "h": 309.7
  },
  "luminance": 0.01635
}

Semantic roles & 50–950 ramp

primary
#35104B
secondary
#518532
accent
#E8407F
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #35104B

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

Preview Lab → · Contrast checker → · Palette generator →

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