#35147B#35147B

#35147B is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.8% C 0.157 H 288.4°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#35147B
RGBrgb(53, 20, 123)
HSLhsl(259, 72%, 28%)
HSVhsv(259, 84%, 48%)
CMYKcmyk(56.9%, 83.7%, 0%, 51.8%)
CIE-LABlab(18.74, 41.17, -51.81)
CIE-LCHlch(18.74, 66.18, 308.47°)
OKLaboklab(31.83% 0.0497 -0.1491)
OKLCHoklch(31.83% 0.157 288.4)
XYZxyz(5.2925, 2.6870, 18.9748)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35147B #5A7B14
analogous
#14277B #35147B #68147B
triadic
#35147B #7B3514 #147B35
tetradic
#35147B #7B1427 #5A7B14 #147B68
square
#35147B #7B1427 #5A7B14 #147B68
split-complementary
#35147B #7B6814 #277B14
monochromatic
#0B041A #1E0B46 #35147B #4C1DB0 #652DDD

Accessibility & contrast

On white

13.66
#35147B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35147B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35147B#FFFFFF#000000##FFFFFF
##35147B1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002B79
Tritanopia (blue-blind)
#173348
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35147b;
/* rgb */ color: rgb(53, 20, 123);
/* oklch */ color: oklch(31.8% 0.157 288.4);
Tailwind
colors: {
  custom: {
    50: '#7657a2',
    500: '#35147b',
    950: '#000000',
  },
}
SCSS
$custom: #35147b;
$custom-light: #7657a2;
$custom-dark: #000000;
JSON
{
  "hex": "#35147b",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 123
  },
  "hsl": {
    "h": 259.223,
    "s": 72.028,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31834,
    "c": 0.15716,
    "h": 288.4
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35147B

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

Preview Lab → · Contrast checker → · Palette generator →

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