#35167B#35167B

#35167B is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.155 H 288.1°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#35167B
RGBrgb(53, 22, 123)
HSLhsl(258, 70%, 28%)
HSVhsv(258, 82%, 48%)
CMYKcmyk(56.9%, 82.1%, 0%, 51.8%)
CIE-LABlab(19.06, 40.26, -51.29)
CIE-LCHlch(19.06, 65.21, 308.13°)
OKLaboklab(32.05% 0.0483 -0.1476)
OKLCHoklch(32.05% 0.155 288.1)
XYZxyz(5.3292, 2.7605, 18.9871)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35167B #5C7B16
analogous
#16297B #35167B #67167B
triadic
#35167B #7B3516 #167B35
tetradic
#35167B #7B1629 #5C7B16 #167B67
square
#35167B #7B1629 #5C7B16 #167B67
split-complementary
#35167B #7B6716 #297B16
monochromatic
#0B051A #1F0D47 #35167B #4B1FAF #6531DA

Accessibility & contrast

On white

13.53
#35167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#35167B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35167B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35167B#FFFFFF#000000##FFFFFF
##35167B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#173449
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #35167b;
/* rgb */ color: rgb(53, 22, 123);
/* oklch */ color: oklch(32.1% 0.155 288.1);
Tailwind
colors: {
  custom: {
    50: '#7558a2',
    500: '#35167b',
    950: '#000000',
  },
}
SCSS
$custom: #35167b;
$custom-light: #7558a2;
$custom-dark: #000000;
JSON
{
  "hex": "#35167b",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 258.416,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.32052,
    "c": 0.15531,
    "h": 288.1
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#35167B
secondary
#8DB03D
accent
#EC3BB6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #35167B

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

Preview Lab → · Contrast checker → · Palette generator →

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