#35149F#35149F

#35149F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.9% C 0.198 H 280.5°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#35149F
RGBrgb(53, 20, 159)
HSLhsl(254, 78%, 35%)
HSVhsv(254, 87%, 62%)
CMYKcmyk(66.7%, 87.4%, 0%, 37.6%)
CIE-LABlab(22.86, 51.38, -67.48)
CIE-LCHlch(22.86, 84.81, 307.29°)
OKLaboklab(35.87% 0.0362 -0.1947)
OKLCHoklch(35.87% 0.198 280.5)
XYZxyz(7.9744, 3.7598, 33.0996)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35149F #7E9F14
analogous
#14389F #35149F #7B149F
triadic
#35149F #9F3514 #149F35
tetradic
#35149F #9F1438 #7E9F14 #149F7B
square
#35149F #9F1438 #7E9F14 #149F7B
split-complementary
#35149F #9F7B14 #389F14
monochromatic
#110632 #230D69 #35149F #471BD5 #6C46E8

Accessibility & contrast

On white

11.99
#35149F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#35149F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35149F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35149F#FFFFFF#000000##FFFFFF
##35149F1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#00319D
Tritanopia (blue-blind)
#00425D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #35149f;
/* rgb */ color: rgb(53, 20, 159);
/* oklch */ color: oklch(35.9% 0.198 280.5);
Tailwind
colors: {
  custom: {
    50: '#7d5abd',
    500: '#35149f',
    950: '#000000',
  },
}
SCSS
$custom: #35149f;
$custom-light: #7d5abd;
$custom-dark: #000000;
JSON
{
  "hex": "#35149f",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 159
  },
  "hsl": {
    "h": 254.245,
    "s": 77.654,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35866,
    "c": 0.19806,
    "h": 280.5
  },
  "luminance": 0.0376
}

Semantic roles & 50–950 ramp

primary
#35149F
secondary
#AAC846
accent
#F434C6
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #35149F

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

Preview Lab → · Contrast checker → · Palette generator →

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