#35155F#35155F

#35155F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.123 H 298.0°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#35155F
RGBrgb(53, 21, 95)
HSLhsl(266, 64%, 23%)
HSVhsv(266, 78%, 37%)
CMYKcmyk(44.2%, 77.9%, 0%, 62.7%)
CIE-LABlab(16.10, 32.62, -37.89)
CIE-LCHlch(16.10, 50.00, 310.72°)
OKLaboklab(29.13% 0.0576 -0.1083)
OKLCHoklch(29.13% 0.123 298)
XYZxyz(3.8014, 2.1194, 11.0331)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35155F #3F5F15
analogous
#151A5F #35155F #5A155F
triadic
#35155F #5F3515 #155F35
tetradic
#35155F #5F151A #3F5F15 #155F5A
square
#35155F #5F151A #3F5F15 #155F5A
split-complementary
#35155F #5F5A15 #1A5F15
monochromatic
#0E0619 #190A2D #35155F #512091 #6D2BC3

Accessibility & contrast

On white

14.75
#35155F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#35155F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35155F
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35155F#FFFFFF#000000##FFFFFF
##35155F1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00275E
Tritanopia (blue-blind)
#2B2838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35155f;
/* rgb */ color: rgb(53, 21, 95);
/* oklch */ color: oklch(29.1% 0.123 298.0);
Tailwind
colors: {
  custom: {
    50: '#71568d',
    500: '#35155f',
    950: '#000000',
  },
}
SCSS
$custom: #35155f;
$custom-light: #71568d;
$custom-dark: #000000;
JSON
{
  "hex": "#35155f",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 95
  },
  "hsl": {
    "h": 265.946,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29132,
    "c": 0.12269,
    "h": 298
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#35155F
secondary
#6E963A
accent
#E7419F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35155F

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

Preview Lab → · Contrast checker → · Palette generator →

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