#35167F#35167F

#35167F is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.160 H 287.1°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#35167F
RGBrgb(53, 22, 127)
HSLhsl(258, 70%, 29%)
HSVhsv(258, 83%, 50%)
CMYKcmyk(58.3%, 82.7%, 0%, 50.2%)
CIE-LABlab(19.49, 41.43, -53.13)
CIE-LCHlch(19.49, 67.38, 307.94°)
OKLaboklab(32.48% 0.047 -0.153)
OKLCHoklch(32.48% 0.16 287.1)
XYZxyz(5.5847, 2.8627, 20.3328)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35167F #607F16
analogous
#162C7F #35167F #6A167F
triadic
#35167F #7F3516 #167F35
tetradic
#35167F #7F162C #607F16 #167F6A
square
#35167F #7F162C #607F16 #167F6A
split-complementary
#35167F #7F6A16 #2C7F16
monochromatic
#0B051A #1F0D4B #35167F #4B1FB3 #6534DC

Accessibility & contrast

On white

13.35
#35167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#35167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35167F
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35167F#FFFFFF#000000##FFFFFF
##35167F1.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#002C7D
Tritanopia (blue-blind)
#12354B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35167f;
/* rgb */ color: rgb(53, 22, 127);
/* oklch */ color: oklch(32.5% 0.160 287.1);
Tailwind
colors: {
  custom: {
    50: '#7658a5',
    500: '#35167f',
    950: '#000000',
  },
}
SCSS
$custom: #35167f;
$custom-light: #7658a5;
$custom-dark: #000000;
JSON
{
  "hex": "#35167f",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 257.714,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32476,
    "c": 0.16004,
    "h": 287.1
  },
  "luminance": 0.02863
}

Semantic roles & 50–950 ramp

primary
#35167F
secondary
#91B43D
accent
#ED3BB8
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #35167F

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

Preview Lab → · Contrast checker → · Palette generator →

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