#35197F#35197F

#35197F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.157 H 286.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#35197F
RGBrgb(53, 25, 127)
HSLhsl(256, 67%, 30%)
HSVhsv(256, 80%, 50%)
CMYKcmyk(58.3%, 80.3%, 0%, 50.2%)
CIE-LABlab(19.98, 40.00, -52.32)
CIE-LCHlch(19.98, 65.86, 307.40°)
OKLaboklab(32.82% 0.0449 -0.1506)
OKLCHoklch(32.82% 0.157 286.6)
XYZxyz(5.6454, 2.9841, 20.3531)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35197F #637F19
analogous
#19307F #35197F #68197F
triadic
#35197F #7F3519 #197F35
tetradic
#35197F #7F1930 #637F19 #197F68
square
#35197F #7F1930 #637F19 #197F68
split-complementary
#35197F #7F6819 #307F19
monochromatic
#0B051A #200F4C #35197F #4A23B2 #663AD8

Accessibility & contrast

On white

13.15
#35197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#35197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35197F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35197F#FFFFFF#000000##FFFFFF
##35197F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#002D7D
Tritanopia (blue-blind)
#12374C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35197f;
/* rgb */ color: rgb(53, 25, 127);
/* oklch */ color: oklch(32.8% 0.157 286.6);
Tailwind
colors: {
  custom: {
    50: '#765aa5',
    500: '#35197f',
    950: '#000000',
  },
}
SCSS
$custom: #35197f;
$custom-light: #765aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#35197f",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 256.471,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3282,
    "c": 0.15719,
    "h": 286.6
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#35197F
secondary
#94B341
accent
#EA3EBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35197F

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

Preview Lab → · Contrast checker → · Palette generator →

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