#35164B#35164B

#35164B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.096 H 308.2°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#35164B
RGBrgb(53, 22, 75)
HSLhsl(275, 55%, 19%)
HSVhsv(275, 71%, 29%)
CMYKcmyk(29.3%, 70.7%, 0%, 70.6%)
CIE-LABlab(14.62, 26.48, -26.76)
CIE-LCHlch(14.62, 37.65, 314.70°)
OKLaboklab(27.54% 0.0596 -0.0756)
OKLCHoklch(27.54% 0.096 308.2)
XYZxyz(3.0248, 1.8387, 6.8508)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35164B #2C4B16
analogous
#1B164B #35164B #4B1647
triadic
#35164B #4B3516 #164B35
tetradic
#35164B #4B1B16 #2C4B16 #16474B
square
#35164B #4B1B16 #2C4B16 #16474B
split-complementary
#35164B #474B16 #164B1B
monochromatic
#110718 #14081C #35164B #56247A #7832AA

Accessibility & contrast

On white

15.35
#35164B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#35164B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35164B
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35164B#FFFFFF#000000##FFFFFF
##35164B1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#0D254A
Tritanopia (blue-blind)
#32212E
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #35164b;
/* rgb */ color: rgb(53, 22, 75);
/* oklch */ color: oklch(27.5% 0.096 308.2);
Tailwind
colors: {
  custom: {
    50: '#6f557e',
    500: '#35164b',
    950: '#000000',
  },
}
SCSS
$custom: #35164b;
$custom-light: #6f557e;
$custom-dark: #000000;
JSON
{
  "hex": "#35164b",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 75
  },
  "hsl": {
    "h": 275.094,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27542,
    "c": 0.09627,
    "h": 308.2
  },
  "luminance": 0.01839
}

Semantic roles & 50–950 ramp

primary
#35164B
secondary
#58833A
accent
#DE4A87
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35164B

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

Preview Lab → · Contrast checker → · Palette generator →

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