#35197C#35197C

#35197C is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.154 H 287.4°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#35197C
RGBrgb(53, 25, 124)
HSLhsl(257, 66%, 29%)
HSVhsv(257, 80%, 49%)
CMYKcmyk(57.3%, 79.8%, 0%, 51.4%)
CIE-LABlab(19.67, 39.10, -50.93)
CIE-LCHlch(19.67, 64.20, 307.52°)
OKLaboklab(32.51% 0.0458 -0.1466)
OKLCHoklch(32.51% 0.154 287.4)
XYZxyz(5.4528, 2.9071, 19.3387)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35197C #607C19
analogous
#192E7C #35197C #67197C
triadic
#35197C #7C3519 #197C35
tetradic
#35197C #7C192E #607C19 #197C67
square
#35197C #7C192E #607C19 #197C67
split-complementary
#35197C #7C6719 #2E7C19
monochromatic
#0B0519 #1F0F49 #35197C #4B23AF #6538D7

Accessibility & contrast

On white

13.28
#35197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#35197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35197C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35197C#FFFFFF#000000##FFFFFF
##35197C1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#002D7A
Tritanopia (blue-blind)
#16354A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35197c;
/* rgb */ color: rgb(53, 25, 124);
/* oklch */ color: oklch(32.5% 0.154 287.4);
Tailwind
colors: {
  custom: {
    50: '#755aa3',
    500: '#35197c',
    950: '#000000',
  },
}
SCSS
$custom: #35197c;
$custom-light: #755aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#35197c",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 256.97,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32508,
    "c": 0.15356,
    "h": 287.4
  },
  "luminance": 0.02907
}

Semantic roles & 50–950 ramp

primary
#35197C
secondary
#91B040
accent
#E93EB9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35197C

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

Preview Lab → · Contrast checker → · Palette generator →

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