#35154C#35154C

#35154C is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.099 H 307.9°. Best body text is #FFFFFF at 15.41:1 contrast (WCAG AA passes).

Color values

HEX#35154C
RGBrgb(53, 21, 76)
HSLhsl(275, 57%, 19%)
HSVhsv(275, 72%, 30%)
CMYKcmyk(30.3%, 72.4%, 0%, 70.2%)
CIE-LABlab(14.49, 27.32, -27.66)
CIE-LCHlch(14.49, 38.88, 314.65°)
OKLaboklab(27.47% 0.0609 -0.0782)
OKLCHoklch(27.47% 0.099 307.9)
XYZxyz(3.0406, 1.8151, 7.0262)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35154C #2C4C15
analogous
#1A154C #35154C #4C1548
triadic
#35154C #4C3515 #154C35
tetradic
#35154C #4C1A15 #2C4C15 #15484C
square
#35154C #4C1A15 #2C4C15 #15484C
split-complementary
#35154C #484C15 #154C1A
monochromatic
#110718 #14081C #35154C #56227C #782FAC

Accessibility & contrast

On white

15.41
#35154C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35154C
15.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35154C#FFFFFF#000000##FFFFFF
##35154C1.0015.411.3615.41
#FFFFFF15.411.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234E
Deuteranopia (green-blind)
#0A254B
Tritanopia (blue-blind)
#31212E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #35154c;
/* rgb */ color: rgb(53, 21, 76);
/* oklch */ color: oklch(27.5% 0.099 307.9);
Tailwind
colors: {
  custom: {
    50: '#6f557e',
    500: '#35154c',
    950: '#000000',
  },
}
SCSS
$custom: #35154c;
$custom-light: #6f557e;
$custom-dark: #000000;
JSON
{
  "hex": "#35154c",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 76
  },
  "hsl": {
    "h": 274.909,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27472,
    "c": 0.09914,
    "h": 307.9
  },
  "luminance": 0.01815
}

Semantic roles & 50–950 ramp

primary
#35154C
secondary
#588439
accent
#E04887
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35154C

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

Preview Lab → · Contrast checker → · Palette generator →

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