#35198B#35198B

#35198B is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.171 H 283.8°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#35198B
RGBrgb(53, 25, 139)
HSLhsl(255, 70%, 32%)
HSVhsv(255, 82%, 55%)
CMYKcmyk(61.9%, 82%, 0%, 45.5%)
CIE-LABlab(21.27, 43.57, -57.76)
CIE-LCHlch(21.27, 72.35, 307.03°)
OKLaboklab(34.1% 0.041 -0.1665)
OKLCHoklch(34.1% 0.171 283.8)
XYZxyz(6.4746, 3.3158, 24.7199)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35198B #6F8B19
analogous
#19368B #35198B #6E198B
triadic
#35198B #8B3519 #198B35
tetradic
#35198B #8B1936 #6F8B19 #198B6E
square
#35198B #8B1936 #6F8B19 #198B6E
split-complementary
#35198B #8B6E19 #368B19
monochromatic
#0D0623 #211057 #35198B #4922BF #6841DD

Accessibility & contrast

On white

12.63
#35198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35198B
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35198B#FFFFFF#000000##FFFFFF
##35198B1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35198b;
/* rgb */ color: rgb(53, 25, 139);
/* oklch */ color: oklch(34.1% 0.171 283.8);
Tailwind
colors: {
  custom: {
    50: '#785aae',
    500: '#35198b',
    950: '#000000',
  },
}
SCSS
$custom: #35198b;
$custom-light: #785aae;
$custom-dark: #000000;
JSON
{
  "hex": "#35198b",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 254.737,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34099,
    "c": 0.17148,
    "h": 283.8
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#35198B
secondary
#9FBE42
accent
#EC3BC1
background
#F7F5FA
surface
#EEE9F5
border
#C9C5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #35198B

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

Preview Lab → · Contrast checker → · Palette generator →

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