#35104C#35104C

#35104C is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.107 H 309.1°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#35104C
RGBrgb(53, 16, 76)
HSLhsl(277, 65%, 18%)
HSVhsv(277, 79%, 30%)
CMYKcmyk(30.3%, 78.9%, 0%, 70.2%)
CIE-LABlab(13.53, 30.00, -29.21)
CIE-LCHlch(13.53, 41.87, 315.76°)
OKLaboklab(26.79% 0.0672 -0.0828)
OKLCHoklch(26.79% 0.107 309.1)
XYZxyz(2.9577, 1.6493, 6.9986)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35104C #274C10
analogous
#17104C #35104C #4C1045
triadic
#35104C #4C3510 #104C35
tetradic
#35104C #4C1710 #274C10 #10454C
square
#35104C #4C1710 #274C10 #10454C
split-complementary
#35104C #454C10 #104C17
monochromatic
#120519 #120519 #35104C #581B7F #7C25B1

Accessibility & contrast

On white

15.79
#35104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35104C
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35104C#FFFFFF#000000##FFFFFF
##35104C1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214E
Deuteranopia (green-blind)
#03234B
Tritanopia (blue-blind)
#321E2D
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #35104c;
/* rgb */ color: rgb(53, 16, 76);
/* oklch */ color: oklch(26.8% 0.107 309.1);
Tailwind
colors: {
  custom: {
    50: '#6f527e',
    500: '#35104c',
    950: '#000000',
  },
}
SCSS
$custom: #35104c;
$custom-light: #6f527e;
$custom-dark: #000000;
JSON
{
  "hex": "#35104c",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 277,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.26787,
    "c": 0.10661,
    "h": 309.1
  },
  "luminance": 0.01649
}

Semantic roles & 50–950 ramp

primary
#35104C
secondary
#528632
accent
#E84080
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #35104C

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

Preview Lab → · Contrast checker → · Palette generator →

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