#35104F#35104F

#35104F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.110 H 307.3°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#35104F
RGBrgb(53, 16, 79)
HSLhsl(275, 66%, 19%)
HSVhsv(275, 80%, 31%)
CMYKcmyk(32.9%, 79.7%, 0%, 69%)
CIE-LABlab(13.78, 30.78, -30.86)
CIE-LCHlch(13.78, 43.58, 314.92°)
OKLaboklab(27.05% 0.0667 -0.0876)
OKLCHoklch(27.05% 0.11 307.3)
XYZxyz(3.0645, 1.6920, 7.5608)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35104F #2A4F10
analogous
#15104F #35104F #4F1049
triadic
#35104F #4F3510 #104F35
tetradic
#35104F #4F1510 #2A4F10 #10494F
square
#35104F #4F1510 #2A4F10 #10494F
split-complementary
#35104F #494F10 #104F15
monochromatic
#110519 #13061C #35104F #571A82 #7925B5

Accessibility & contrast

On white

15.69
#35104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#35104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35104F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35104F#FFFFFF#000000##FFFFFF
##35104F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#311F2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #35104f;
/* rgb */ color: rgb(53, 16, 79);
/* oklch */ color: oklch(27.0% 0.110 307.3);
Tailwind
colors: {
  custom: {
    50: '#6f5281',
    500: '#35104f',
    950: '#000000',
  },
}
SCSS
$custom: #35104f;
$custom-light: #6f5281;
$custom-dark: #000000;
JSON
{
  "hex": "#35104f",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 275.238,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27046,
    "c": 0.11009,
    "h": 307.3
  },
  "luminance": 0.01692
}

Semantic roles & 50–950 ramp

primary
#35104F
secondary
#568932
accent
#E93F85
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #35104F

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

Preview Lab → · Contrast checker → · Palette generator →

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