#35154B#35154B

#35154B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.098 H 308.5°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#35154B
RGBrgb(53, 21, 75)
HSLhsl(276, 56%, 19%)
HSVhsv(276, 72%, 29%)
CMYKcmyk(29.3%, 72%, 0%, 70.6%)
CIE-LABlab(14.41, 27.05, -27.10)
CIE-LCHlch(14.41, 38.29, 314.96°)
OKLaboklab(27.39% 0.061 -0.0766)
OKLCHoklch(27.39% 0.098 308.5)
XYZxyz(3.0061, 1.8013, 6.8446)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35154B #2B4B15
analogous
#1A154B #35154B #4B1546
triadic
#35154B #4B3515 #154B35
tetradic
#35154B #4B1A15 #2B4B15 #15464B
square
#35154B #4B1A15 #2B4B15 #15464B
split-complementary
#35154B #464B15 #154B1A
monochromatic
#110718 #13081B #35154B #57227B #7930AB

Accessibility & contrast

On white

15.44
#35154B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35154B
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35154B#FFFFFF#000000##FFFFFF
##35154B1.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35154b;
/* rgb */ color: rgb(53, 21, 75);
/* oklch */ color: oklch(27.4% 0.098 308.5);
Tailwind
colors: {
  custom: {
    50: '#6f557e',
    500: '#35154b',
    950: '#000000',
  },
}
SCSS
$custom: #35154b;
$custom-light: #6f557e;
$custom-dark: #000000;
JSON
{
  "hex": "#35154b",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 75
  },
  "hsl": {
    "h": 275.556,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27391,
    "c": 0.09789,
    "h": 308.5
  },
  "luminance": 0.01801
}

Semantic roles & 50–950 ramp

primary
#35154B
secondary
#578339
accent
#E04886
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35154B

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

Preview Lab → · Contrast checker → · Palette generator →

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