#35154A#35154A

#35154A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.097 H 309.2°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#35154A
RGBrgb(53, 21, 74)
HSLhsl(276, 56%, 19%)
HSVhsv(276, 72%, 29%)
CMYKcmyk(28.4%, 71.6%, 0%, 71%)
CIE-LABlab(14.33, 26.79, -26.53)
CIE-LCHlch(14.33, 37.70, 315.28°)
OKLaboklab(27.31% 0.061 -0.0749)
OKLCHoklch(27.31% 0.097 309.2)
XYZxyz(2.9721, 1.7877, 6.6657)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35154A #2A4A15
analogous
#1A154A #35154A #4A1544
triadic
#35154A #4A3515 #154A35
tetradic
#35154A #4A1A15 #2A4A15 #15444A
square
#35154A #4A1A15 #2A4A15 #15444A
split-complementary
#35154A #444A15 #154A1A
monochromatic
#110718 #13071A #35154A #57237A #7930A9

Accessibility & contrast

On white

15.47
#35154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#35154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35154A
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35154A#FFFFFF#000000##FFFFFF
##35154A1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234C
Deuteranopia (green-blind)
#0D2549
Tritanopia (blue-blind)
#32202D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #35154a;
/* rgb */ color: rgb(53, 21, 74);
/* oklch */ color: oklch(27.3% 0.097 309.2);
Tailwind
colors: {
  custom: {
    50: '#6f557d',
    500: '#35154a',
    950: '#000000',
  },
}
SCSS
$custom: #35154a;
$custom-light: #6f557d;
$custom-dark: #000000;
JSON
{
  "hex": "#35154a",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 276.226,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27311,
    "c": 0.09665,
    "h": 309.2
  },
  "luminance": 0.01788
}

Semantic roles & 50–950 ramp

primary
#35154A
secondary
#568239
accent
#DF4984
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #35154A

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

Preview Lab → · Contrast checker → · Palette generator →

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