#35147C#35147C

#35147C is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.9% C 0.158 H 288.2°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).

Color values

HEX#35147C
RGBrgb(53, 20, 124)
HSLhsl(259, 72%, 28%)
HSVhsv(259, 84%, 49%)
CMYKcmyk(57.3%, 83.9%, 0%, 51.4%)
CIE-LABlab(18.85, 41.46, -52.27)
CIE-LCHlch(18.85, 66.72, 308.42°)
OKLaboklab(31.94% 0.0494 -0.1504)
OKLCHoklch(31.94% 0.158 288.2)
XYZxyz(5.3554, 2.7122, 19.3062)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35147C #5B7C14
analogous
#14277C #35147C #69147C
triadic
#35147C #7C3514 #147C35
tetradic
#35147C #7C1427 #5B7C14 #147C69
square
#35147C #7C1427 #5B7C14 #147C69
split-complementary
#35147C #7C6914 #277C14
monochromatic
#0B041A #1E0B47 #35147C #4C1DB1 #652DDD

Accessibility & contrast

On white

13.62
#35147C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#35147C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35147C
13.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35147C#FFFFFF#000000##FFFFFF
##35147C1.0013.621.5413.62
#FFFFFF13.621.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#002B7A
Tritanopia (blue-blind)
#163349
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35147c;
/* rgb */ color: rgb(53, 20, 124);
/* oklch */ color: oklch(31.9% 0.158 288.2);
Tailwind
colors: {
  custom: {
    50: '#7657a3',
    500: '#35147c',
    950: '#000000',
  },
}
SCSS
$custom: #35147c;
$custom-light: #7657a3;
$custom-dark: #000000;
JSON
{
  "hex": "#35147c",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 124
  },
  "hsl": {
    "h": 259.038,
    "s": 72.222,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31941,
    "c": 0.15832,
    "h": 288.2
  },
  "luminance": 0.02712
}

Semantic roles & 50–950 ramp

primary
#35147C
secondary
#8CB23A
accent
#EF39B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #35147C

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

Preview Lab → · Contrast checker → · Palette generator →

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