#35155B#35155B

#35155B is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.8% C 0.118 H 299.8°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#35155B
RGBrgb(53, 21, 91)
HSLhsl(267, 63%, 22%)
HSVhsv(267, 77%, 36%)
CMYKcmyk(41.8%, 76.9%, 0%, 64.3%)
CIE-LABlab(15.74, 31.48, -35.81)
CIE-LCHlch(15.74, 47.68, 311.32°)
OKLaboklab(28.76% 0.0585 -0.1022)
OKLCHoklch(28.76% 0.118 299.8)
XYZxyz(3.6242, 2.0485, 10.1000)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35155B #3B5B15
analogous
#15185B #35155B #58155B
triadic
#35155B #5B3515 #155B35
tetradic
#35155B #5B1518 #3B5B15 #155B58
square
#35155B #5B1518 #3B5B15 #155B58
split-complementary
#35155B #5B5815 #185B15
monochromatic
#0E0619 #180A29 #35155B #52208D #6F2CBE

Accessibility & contrast

On white

14.90
#35155B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35155B
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35155B#FFFFFF#000000##FFFFFF
##35155B1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#2C2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35155b;
/* rgb */ color: rgb(53, 21, 91);
/* oklch */ color: oklch(28.8% 0.118 299.8);
Tailwind
colors: {
  custom: {
    50: '#70558a',
    500: '#35155b',
    950: '#000000',
  },
}
SCSS
$custom: #35155b;
$custom-light: #70558a;
$custom-dark: #000000;
JSON
{
  "hex": "#35155b",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 91
  },
  "hsl": {
    "h": 267.429,
    "s": 62.5,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28764,
    "c": 0.11777,
    "h": 299.8
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#35155B
secondary
#6A9239
accent
#E6429B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35155B

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

Preview Lab → · Contrast checker → · Palette generator →

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