#35168F#35168F

#35168F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.179 H 283.4°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#35168F
RGBrgb(53, 22, 143)
HSLhsl(255, 73%, 32%)
HSVhsv(255, 85%, 56%)
CMYKcmyk(62.9%, 84.6%, 0%, 43.9%)
CIE-LABlab(21.26, 46.07, -60.27)
CIE-LCHlch(21.26, 75.86, 307.40°)
OKLaboklab(34.23% 0.0413 -0.1738)
OKLCHoklch(34.23% 0.179 283.4)
XYZxyz(6.7115, 3.3134, 26.2672)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35168F #708F16
analogous
#16348F #35168F #72168F
triadic
#35168F #8F3516 #168F35
tetradic
#35168F #8F1634 #708F16 #168F72
square
#35168F #8F1634 #708F16 #168F72
split-complementary
#35168F #8F7216 #348F16
monochromatic
#0E0625 #210E5A #35168F #491EC4 #683EE1

Accessibility & contrast

On white

12.63
#35168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#35168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35168F
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35168F#FFFFFF#000000##FFFFFF
##35168F1.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)
#003792
Deuteranopia (green-blind)
#002F8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #35168f;
/* rgb */ color: rgb(53, 22, 143);
/* oklch */ color: oklch(34.2% 0.179 283.4);
Tailwind
colors: {
  custom: {
    50: '#7959b1',
    500: '#35168f',
    950: '#000000',
  },
}
SCSS
$custom: #35168f;
$custom-light: #7959b1;
$custom-dark: #000000;
JSON
{
  "hex": "#35168f",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 255.372,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34225,
    "c": 0.17862,
    "h": 283.4
  },
  "luminance": 0.03314
}

Semantic roles & 50–950 ramp

primary
#35168F
secondary
#A0C13F
accent
#F038C1
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #35168F

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

Preview Lab → · Contrast checker → · Palette generator →

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