#35189F#35189F

#35189F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.195 H 280.2°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#35189F
RGBrgb(53, 24, 159)
HSLhsl(253, 74%, 36%)
HSVhsv(253, 85%, 62%)
CMYKcmyk(66.7%, 84.9%, 0%, 37.6%)
CIE-LABlab(23.38, 49.84, -66.61)
CIE-LCHlch(23.38, 83.20, 306.80°)
OKLaboklab(36.22% 0.0347 -0.1923)
OKLCHoklch(36.22% 0.195 280.2)
XYZxyz(8.0509, 3.9127, 33.1251)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35189F #829F18
analogous
#183E9F #35189F #78189F
triadic
#35189F #9F3518 #189F35
tetradic
#35189F #9F183E #829F18 #189F78
square
#35189F #9F183E #829F18 #189F78
split-complementary
#35189F #9F7818 #3E9F18
monochromatic
#120835 #23106A #35189F #4720D4 #6E4DE4

Accessibility & contrast

On white

11.78
#35189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#35189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35189F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35189F#FFFFFF#000000##FFFFFF
##35189F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA3
Deuteranopia (green-blind)
#00339D
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #35189f;
/* rgb */ color: rgb(53, 24, 159);
/* oklch */ color: oklch(36.2% 0.195 280.2);
Tailwind
colors: {
  custom: {
    50: '#7c5bbd',
    500: '#35189f',
    950: '#000000',
  },
}
SCSS
$custom: #35189f;
$custom-light: #7c5bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#35189f",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 252.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36221,
    "c": 0.19538,
    "h": 280.2
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#35189F
secondary
#ACC64D
accent
#F037C9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #35189F

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

Preview Lab → · Contrast checker → · Palette generator →

#35189F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva