#35166A#35166A

#35166A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.135 H 293.5°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#35166A
RGBrgb(53, 22, 106)
HSLhsl(262, 66%, 25%)
HSVhsv(262, 79%, 42%)
CMYKcmyk(50%, 79.2%, 0%, 58.4%)
CIE-LABlab(17.33, 35.28, -43.15)
CIE-LCHlch(17.33, 55.74, 309.27°)
OKLaboklab(30.32% 0.0537 -0.1238)
OKLCHoklch(30.32% 0.135 293.5)
XYZxyz(4.3559, 2.3712, 13.8610)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35166A #4B6A16
analogous
#16216A #35166A #5F166A
triadic
#35166A #6A3516 #166A35
tetradic
#35166A #6A1621 #4B6A16 #166A5F
square
#35166A #6A1621 #4B6A16 #166A5F
split-complementary
#35166A #6A5F16 #216A16
monochromatic
#0D0519 #1C0B37 #35166A #4E219D #682BCF

Accessibility & contrast

On white

14.25
#35166A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#35166A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35166A
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35166A#FFFFFF#000000##FFFFFF
##35166A1.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002968
Tritanopia (blue-blind)
#252D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35166a;
/* rgb */ color: rgb(53, 22, 106);
/* oklch */ color: oklch(30.3% 0.135 293.5);
Tailwind
colors: {
  custom: {
    50: '#735795',
    500: '#35166a',
    950: '#000000',
  },
}
SCSS
$custom: #35166a;
$custom-light: #735795;
$custom-dark: #000000;
JSON
{
  "hex": "#35166a",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 106
  },
  "hsl": {
    "h": 262.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30316,
    "c": 0.13492,
    "h": 293.5
  },
  "luminance": 0.02371
}

Semantic roles & 50–950 ramp

primary
#35166A
secondary
#7BA03B
accent
#E93FAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #35166A

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

Preview Lab → · Contrast checker → · Palette generator →

#35166A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva