#35167D#35167D

#35167D is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.158 H 287.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#35167D
RGBrgb(53, 22, 125)
HSLhsl(258, 70%, 29%)
HSVhsv(258, 82%, 49%)
CMYKcmyk(57.6%, 82.4%, 0%, 51%)
CIE-LABlab(19.27, 40.84, -52.22)
CIE-LCHlch(19.27, 66.29, 308.03°)
OKLaboklab(32.26% 0.0477 -0.1503)
OKLCHoklch(32.26% 0.158 287.6)
XYZxyz(5.4557, 2.8111, 19.6532)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35167D #5E7D16
analogous
#162B7D #35167D #69167D
triadic
#35167D #7D3516 #167D35
tetradic
#35167D #7D162B #5E7D16 #167D69
square
#35167D #7D162B #5E7D16 #167D69
split-complementary
#35167D #7D6916 #2B7D16
monochromatic
#0B051A #1F0D49 #35167D #4B1FB1 #6532DB

Accessibility & contrast

On white

13.44
#35167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#35167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35167D
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35167D#FFFFFF#000000##FFFFFF
##35167D1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#002C7B
Tritanopia (blue-blind)
#15344A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #35167d;
/* rgb */ color: rgb(53, 22, 125);
/* oklch */ color: oklch(32.3% 0.158 287.6);
Tailwind
colors: {
  custom: {
    50: '#7658a4',
    500: '#35167d',
    950: '#000000',
  },
}
SCSS
$custom: #35167d;
$custom-light: #7658a4;
$custom-dark: #000000;
JSON
{
  "hex": "#35167d",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 258.058,
    "s": 70.068,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32263,
    "c": 0.15768,
    "h": 287.6
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#35167D
secondary
#8FB23D
accent
#ED3BB7
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #35167D

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

Preview Lab → · Contrast checker → · Palette generator →

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