#35148A#35148A

#35148A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.5% C 0.174 H 284.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#35148A
RGBrgb(53, 20, 138)
HSLhsl(257, 75%, 31%)
HSVhsv(257, 86%, 54%)
CMYKcmyk(61.6%, 85.5%, 0%, 45.9%)
CIE-LABlab(20.41, 45.47, -58.55)
CIE-LCHlch(20.41, 74.13, 307.83°)
OKLaboklab(33.47% 0.0442 -0.1687)
OKLCHoklch(33.47% 0.174 284.7)
XYZxyz(6.3044, 3.0918, 24.3044)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35148A #698A14
analogous
#142E8A #35148A #70148A
triadic
#35148A #8A3514 #148A35
tetradic
#35148A #8A142E #698A14 #148A70
square
#35148A #8A142E #698A14 #148A70
split-complementary
#35148A #8A7014 #2E8A14
monochromatic
#0C051F #200C55 #35148A #4A1CBF #6636E2

Accessibility & contrast

On white

12.98
#35148A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#35148A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35148A
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35148A#FFFFFF#000000##FFFFFF
##35148A1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348D
Deuteranopia (green-blind)
#002D88
Tritanopia (blue-blind)
#003951
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #35148a;
/* rgb */ color: rgb(53, 20, 138);
/* oklch */ color: oklch(33.5% 0.174 284.7);
Tailwind
colors: {
  custom: {
    50: '#7858ad',
    500: '#35148a',
    950: '#000000',
  },
}
SCSS
$custom: #35148a;
$custom-light: #7858ad;
$custom-dark: #000000;
JSON
{
  "hex": "#35148a",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 138
  },
  "hsl": {
    "h": 256.78,
    "s": 74.684,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33474,
    "c": 0.17443,
    "h": 284.7
  },
  "luminance": 0.03092
}

Semantic roles & 50–950 ramp

primary
#35148A
secondary
#9ABE3C
accent
#F136BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #35148A

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

Preview Lab → · Contrast checker → · Palette generator →

#35148A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva