#35198A#35198A

#35198A is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.170 H 284.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#35198A
RGBrgb(53, 25, 138)
HSLhsl(255, 69%, 32%)
HSVhsv(255, 82%, 54%)
CMYKcmyk(61.6%, 81.9%, 0%, 45.9%)
CIE-LABlab(21.16, 43.27, -57.31)
CIE-LCHlch(21.16, 71.81, 307.06°)
OKLaboklab(33.99% 0.0413 -0.1652)
OKLCHoklch(33.99% 0.17 284)
XYZxyz(6.4019, 3.2867, 24.3369)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35198A #6E8A19
analogous
#19368A #35198A #6E198A
triadic
#35198A #8A3519 #198A35
tetradic
#35198A #8A1936 #6E8A19 #198A6E
square
#35198A #8A1936 #6E8A19 #198A6E
split-complementary
#35198A #8A6E19 #368A19
monochromatic
#0D0622 #211056 #35198A #4922BE #6741DD

Accessibility & contrast

On white

12.67
#35198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#35198A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35198A
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35198A#FFFFFF#000000##FFFFFF
##35198A1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00368D
Deuteranopia (green-blind)
#002F88
Tritanopia (blue-blind)
#003B52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35198a;
/* rgb */ color: rgb(53, 25, 138);
/* oklch */ color: oklch(34.0% 0.170 284.0);
Tailwind
colors: {
  custom: {
    50: '#785aad',
    500: '#35198a',
    950: '#000000',
  },
}
SCSS
$custom: #35198a;
$custom-light: #785aad;
$custom-dark: #000000;
JSON
{
  "hex": "#35198a",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 254.867,
    "s": 69.325,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33991,
    "c": 0.1703,
    "h": 284
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#35198A
secondary
#9FBD42
accent
#EC3CC0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #35198A

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

Preview Lab → · Contrast checker → · Palette generator →

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