#35147F#35147F

#35147F is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.162 H 287.4°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#35147F
RGBrgb(53, 20, 127)
HSLhsl(259, 73%, 29%)
HSVhsv(259, 84%, 50%)
CMYKcmyk(58.3%, 84.3%, 0%, 50.2%)
CIE-LABlab(19.18, 42.32, -53.64)
CIE-LCHlch(19.18, 68.33, 308.27°)
OKLaboklab(32.27% 0.0483 -0.1544)
OKLCHoklch(32.27% 0.162 287.4)
XYZxyz(5.5480, 2.7892, 20.3206)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35147F #5E7F14
analogous
#14297F #35147F #6B147F
triadic
#35147F #7F3514 #147F35
tetradic
#35147F #7F1429 #5E7F14 #147F6B
square
#35147F #7F1429 #5E7F14 #147F6B
split-complementary
#35147F #7F6B14 #297F14
monochromatic
#0B041A #1F0C4A #35147F #4B1CB4 #652FDE

Accessibility & contrast

On white

13.48
#35147F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#35147F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35147F
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35147F#FFFFFF#000000##FFFFFF
##35147F1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#12354B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35147f;
/* rgb */ color: rgb(53, 20, 127);
/* oklch */ color: oklch(32.3% 0.162 287.4);
Tailwind
colors: {
  custom: {
    50: '#7657a5',
    500: '#35147f',
    950: '#000000',
  },
}
SCSS
$custom: #35147f;
$custom-light: #7657a5;
$custom-dark: #000000;
JSON
{
  "hex": "#35147f",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 127
  },
  "hsl": {
    "h": 258.505,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32265,
    "c": 0.1618,
    "h": 287.4
  },
  "luminance": 0.0279
}

Semantic roles & 50–950 ramp

primary
#35147F
secondary
#8FB43B
accent
#EF38B7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #35147F

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

Preview Lab → · Contrast checker → · Palette generator →

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