#35154D#35154D

#35154D is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.100 H 307.3°. Best body text is #FFFFFF at 15.38:1 contrast (WCAG AA passes).

Color values

HEX#35154D
RGBrgb(53, 21, 77)
HSLhsl(274, 57%, 19%)
HSVhsv(274, 73%, 30%)
CMYKcmyk(31.2%, 72.7%, 0%, 69.8%)
CIE-LABlab(14.56, 27.59, -28.22)
CIE-LCHlch(14.56, 39.47, 314.35°)
OKLaboklab(27.55% 0.0608 -0.0799)
OKLCHoklch(27.55% 0.1 307.3)
XYZxyz(3.0756, 1.8291, 7.2108)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35154D #2D4D15
analogous
#19154D #35154D #4D1549
triadic
#35154D #4D3515 #154D35
tetradic
#35154D #4D1915 #2D4D15 #15494D
square
#35154D #4D1915 #2D4D15 #15494D
split-complementary
#35154D #494D15 #154D19
monochromatic
#110718 #14081D #35154D #56227D #772FAD

Accessibility & contrast

On white

15.38
#35154D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#35154D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35154D
15.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35154D#FFFFFF#000000##FFFFFF
##35154D1.0015.381.3715.38
#FFFFFF15.381.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#09254C
Tritanopia (blue-blind)
#31212F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #35154d;
/* rgb */ color: rgb(53, 21, 77);
/* oklch */ color: oklch(27.6% 0.100 307.3);
Tailwind
colors: {
  custom: {
    50: '#6f557f',
    500: '#35154d',
    950: '#000000',
  },
}
SCSS
$custom: #35154d;
$custom-light: #6f557f;
$custom-dark: #000000;
JSON
{
  "hex": "#35154d",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 77
  },
  "hsl": {
    "h": 274.286,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27553,
    "c": 0.10039,
    "h": 307.3
  },
  "luminance": 0.01829
}

Semantic roles & 50–950 ramp

primary
#35154D
secondary
#598539
accent
#E04789
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35154D

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

Preview Lab → · Contrast checker → · Palette generator →

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