#35155D#35155D

#35155D is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.120 H 298.9°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#35155D
RGBrgb(53, 21, 93)
HSLhsl(267, 63%, 22%)
HSVhsv(267, 77%, 36%)
CMYKcmyk(43%, 77.4%, 0%, 63.5%)
CIE-LABlab(15.92, 32.05, -36.86)
CIE-LCHlch(15.92, 48.84, 311.01°)
OKLaboklab(28.95% 0.0581 -0.1053)
OKLCHoklch(28.95% 0.12 298.9)
XYZxyz(3.7116, 2.0835, 10.5604)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35155D #3D5D15
analogous
#15195D #35155D #59155D
triadic
#35155D #5D3515 #155D35
tetradic
#35155D #5D1519 #3D5D15 #155D59
square
#35155D #5D1519 #3D5D15 #155D59
split-complementary
#35155D #5D5915 #195D15
monochromatic
#0E0619 #190A2B #35155D #51208F #6E2CC1

Accessibility & contrast

On white

14.82
#35155D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35155D
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35155D#FFFFFF#000000##FFFFFF
##35155D1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#2B2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35155d;
/* rgb */ color: rgb(53, 21, 93);
/* oklch */ color: oklch(28.9% 0.120 298.9);
Tailwind
colors: {
  custom: {
    50: '#71568c',
    500: '#35155d',
    950: '#000000',
  },
}
SCSS
$custom: #35155d;
$custom-light: #71568c;
$custom-dark: #000000;
JSON
{
  "hex": "#35155d",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 93
  },
  "hsl": {
    "h": 266.667,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28947,
    "c": 0.12023,
    "h": 298.9
  },
  "luminance": 0.02084
}

Semantic roles & 50–950 ramp

primary
#35155D
secondary
#6C9439
accent
#E6429D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35155D

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

Preview Lab → · Contrast checker → · Palette generator →

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