#35197A#35197A

#35197A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.151 H 287.9°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#35197A
RGBrgb(53, 25, 122)
HSLhsl(257, 66%, 29%)
HSVhsv(257, 80%, 48%)
CMYKcmyk(56.6%, 79.5%, 0%, 52.2%)
CIE-LABlab(19.46, 38.50, -49.99)
CIE-LCHlch(19.46, 63.10, 307.60°)
OKLaboklab(32.3% 0.0464 -0.1438)
OKLCHoklch(32.3% 0.151 287.9)
XYZxyz(5.3276, 2.8570, 18.6793)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35197A #5E7A19
analogous
#192E7A #35197A #66197A
triadic
#35197A #7A3519 #197A35
tetradic
#35197A #7A192E #5E7A19 #197A66
square
#35197A #7A192E #5E7A19 #197A66
split-complementary
#35197A #7A6619 #2E7A19
monochromatic
#0B0519 #1F0F47 #35197A #4B23AD #6537D6

Accessibility & contrast

On white

13.36
#35197A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#35197A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35197A
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35197A#FFFFFF#000000##FFFFFF
##35197A1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#183549
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35197a;
/* rgb */ color: rgb(53, 25, 122);
/* oklch */ color: oklch(32.3% 0.151 287.9);
Tailwind
colors: {
  custom: {
    50: '#7559a1',
    500: '#35197a',
    950: '#000000',
  },
}
SCSS
$custom: #35197a;
$custom-light: #7559a1;
$custom-dark: #000000;
JSON
{
  "hex": "#35197a",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 122
  },
  "hsl": {
    "h": 257.32,
    "s": 65.986,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32302,
    "c": 0.15113,
    "h": 287.9
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#35197A
secondary
#8FAF40
accent
#E93FB8
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35197A

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

Preview Lab → · Contrast checker → · Palette generator →

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