#35148F#35148F

#35148F is a dark, vivid violet. Relative luminance 0.032; OKLCH L 34.0% C 0.180 H 283.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#35148F
RGBrgb(53, 20, 143)
HSLhsl(256, 75%, 32%)
HSVhsv(256, 86%, 56%)
CMYKcmyk(62.9%, 86%, 0%, 43.9%)
CIE-LABlab(20.98, 46.89, -60.73)
CIE-LCHlch(20.98, 76.72, 307.67°)
OKLaboklab(34.03% 0.0423 -0.1751)
OKLCHoklch(34.03% 0.18 283.6)
XYZxyz(6.6747, 3.2399, 26.2549)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35148F #6E8F14
analogous
#14308F #35148F #73148F
triadic
#35148F #8F3514 #148F35
tetradic
#35148F #8F1430 #6E8F14 #148F73
square
#35148F #8F1430 #6E8F14 #148F73
split-complementary
#35148F #8F7314 #308F14
monochromatic
#0D0524 #210C59 #35148F #491CC5 #673AE3

Accessibility & contrast

On white

12.74
#35148F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#35148F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35148F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35148F#FFFFFF#000000##FFFFFF
##35148F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#002E8D
Tritanopia (blue-blind)
#003B54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #35148f;
/* rgb */ color: rgb(53, 20, 143);
/* oklch */ color: oklch(34.0% 0.180 283.6);
Tailwind
colors: {
  custom: {
    50: '#7958b1',
    500: '#35148f',
    950: '#000000',
  },
}
SCSS
$custom: #35148f;
$custom-light: #7958b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35148f",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 143
  },
  "hsl": {
    "h": 256.098,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.34035,
    "c": 0.18012,
    "h": 283.6
  },
  "luminance": 0.0324
}

Semantic roles & 50–950 ramp

primary
#35148F
secondary
#9FC33C
accent
#F236C0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #35148F

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

Preview Lab → · Contrast checker → · Palette generator →

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