#35155C#35155C

#35155C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.119 H 299.3°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#35155C
RGBrgb(53, 21, 92)
HSLhsl(267, 63%, 22%)
HSVhsv(267, 77%, 36%)
CMYKcmyk(42.4%, 77.2%, 0%, 63.9%)
CIE-LABlab(15.83, 31.76, -36.34)
CIE-LCHlch(15.83, 48.26, 311.16°)
OKLaboklab(28.85% 0.0583 -0.1037)
OKLCHoklch(28.85% 0.119 299.3)
XYZxyz(3.6676, 2.0659, 10.3287)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35155C #3C5C15
analogous
#15195C #35155C #59155C
triadic
#35155C #5C3515 #155C35
tetradic
#35155C #5C1519 #3C5C15 #155C59
square
#35155C #5C1519 #3C5C15 #155C59
split-complementary
#35155C #5C5915 #195C15
monochromatic
#0E0619 #180A2A #35155C #52208E #6E2CC0

Accessibility & contrast

On white

14.86
#35155C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#35155C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35155C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35155C#FFFFFF#000000##FFFFFF
##35155C1.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#2C2737
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35155c;
/* rgb */ color: rgb(53, 21, 92);
/* oklch */ color: oklch(28.9% 0.119 299.3);
Tailwind
colors: {
  custom: {
    50: '#71568b',
    500: '#35155c',
    950: '#000000',
  },
}
SCSS
$custom: #35155c;
$custom-light: #71568b;
$custom-dark: #000000;
JSON
{
  "hex": "#35155c",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 92
  },
  "hsl": {
    "h": 267.042,
    "s": 62.832,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28855,
    "c": 0.119,
    "h": 299.3
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#35155C
secondary
#6B9339
accent
#E6429C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35155C

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

Preview Lab → · Contrast checker → · Palette generator →

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