#35198C#35198C

#35198C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.173 H 283.6°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#35198C
RGBrgb(53, 25, 140)
HSLhsl(255, 70%, 32%)
HSVhsv(255, 82%, 55%)
CMYKcmyk(62.1%, 82.1%, 0%, 45.1%)
CIE-LABlab(21.38, 43.87, -58.20)
CIE-LCHlch(21.38, 72.88, 307.01°)
OKLaboklab(34.21% 0.0407 -0.1678)
OKLCHoklch(34.21% 0.173 283.6)
XYZxyz(6.5480, 3.3452, 25.1065)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35198C #708C19
analogous
#19368C #35198C #6F198C
triadic
#35198C #8C3519 #198C35
tetradic
#35198C #8C1936 #708C19 #198C6F
square
#35198C #8C1936 #708C19 #198C6F
split-complementary
#35198C #8C6F19 #368C19
monochromatic
#0E0624 #211058 #35198C #4922C0 #6842DD

Accessibility & contrast

On white

12.58
#35198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#35198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35198C
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35198C#FFFFFF#000000##FFFFFF
##35198C1.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378F
Deuteranopia (green-blind)
#002F8A
Tritanopia (blue-blind)
#003C53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35198c;
/* rgb */ color: rgb(53, 25, 140);
/* oklch */ color: oklch(34.2% 0.173 283.6);
Tailwind
colors: {
  custom: {
    50: '#785baf',
    500: '#35198c',
    950: '#000000',
  },
}
SCSS
$custom: #35198c;
$custom-light: #785baf;
$custom-dark: #000000;
JSON
{
  "hex": "#35198c",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 254.609,
    "s": 69.697,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34208,
    "c": 0.17266,
    "h": 283.6
  },
  "luminance": 0.03346
}

Semantic roles & 50–950 ramp

primary
#35198C
secondary
#A0BE43
accent
#ED3BC1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #35198C

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

Preview Lab → · Contrast checker → · Palette generator →

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