#35197E#35197E

#35197E is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.156 H 286.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#35197E
RGBrgb(53, 25, 126)
HSLhsl(257, 67%, 30%)
HSVhsv(257, 80%, 49%)
CMYKcmyk(57.9%, 80.2%, 0%, 50.6%)
CIE-LABlab(19.88, 39.70, -51.86)
CIE-LCHlch(19.88, 65.31, 307.44°)
OKLaboklab(32.72% 0.0452 -0.1493)
OKLCHoklch(32.72% 0.156 286.8)
XYZxyz(5.5806, 2.9582, 20.0115)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35197E #627E19
analogous
#192F7E #35197E #68197E
triadic
#35197E #7E3519 #197E35
tetradic
#35197E #7E192F #627E19 #197E68
square
#35197E #7E192F #627E19 #197E68
split-complementary
#35197E #7E6819 #2F7E19
monochromatic
#0B051A #200F4B #35197E #4A23B1 #653AD8

Accessibility & contrast

On white

13.19
#35197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35197E
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35197E#FFFFFF#000000##FFFFFF
##35197E1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#13364B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #35197e;
/* rgb */ color: rgb(53, 25, 126);
/* oklch */ color: oklch(32.7% 0.156 286.8);
Tailwind
colors: {
  custom: {
    50: '#765aa4',
    500: '#35197e',
    950: '#000000',
  },
}
SCSS
$custom: #35197e;
$custom-light: #765aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#35197e",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 256.634,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32716,
    "c": 0.15597,
    "h": 286.8
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#35197E
secondary
#93B241
accent
#EA3EBA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35197E

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

Preview Lab → · Contrast checker → · Palette generator →

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