#35197D#35197D

#35197D is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.155 H 287.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#35197D
RGBrgb(53, 25, 125)
HSLhsl(257, 67%, 29%)
HSVhsv(257, 80%, 49%)
CMYKcmyk(57.6%, 80%, 0%, 51%)
CIE-LABlab(19.77, 39.40, -51.39)
CIE-LCHlch(19.77, 64.76, 307.48°)
OKLaboklab(32.61% 0.0455 -0.1479)
OKLCHoklch(32.61% 0.155 287.1)
XYZxyz(5.5164, 2.9325, 19.6734)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35197D #617D19
analogous
#192F7D #35197D #67197D
triadic
#35197D #7D3519 #197D35
tetradic
#35197D #7D192F #617D19 #197D67
square
#35197D #7D192F #617D19 #197D67
split-complementary
#35197D #7D6719 #2F7D19
monochromatic
#0B051A #1F0F4A #35197D #4B23B0 #6539D7

Accessibility & contrast

On white

13.24
#35197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#35197D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35197D
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35197D#FFFFFF#000000##FFFFFF
##35197D1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003280
Deuteranopia (green-blind)
#002D7B
Tritanopia (blue-blind)
#15364A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35197d;
/* rgb */ color: rgb(53, 25, 125);
/* oklch */ color: oklch(32.6% 0.155 287.1);
Tailwind
colors: {
  custom: {
    50: '#765aa4',
    500: '#35197d',
    950: '#000000',
  },
}
SCSS
$custom: #35197d;
$custom-light: #765aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#35197d",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 256.8,
    "s": 66.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32612,
    "c": 0.15477,
    "h": 287.1
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#35197D
secondary
#92B140
accent
#EA3EBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35197D

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

Preview Lab → · Contrast checker → · Palette generator →

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