#35166C#35166C

#35166C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.137 H 292.8°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#35166C
RGBrgb(53, 22, 108)
HSLhsl(262, 66%, 25%)
HSVhsv(262, 80%, 42%)
CMYKcmyk(50.9%, 79.6%, 0%, 57.6%)
CIE-LABlab(17.52, 35.87, -44.14)
CIE-LCHlch(17.52, 56.87, 309.10°)
OKLaboklab(30.51% 0.0531 -0.1267)
OKLCHoklch(30.51% 0.137 292.8)
XYZxyz(4.4611, 2.4133, 14.4152)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35166C #4D6C16
analogous
#16226C #35166C #60166C
triadic
#35166C #6C3516 #166C35
tetradic
#35166C #6C1622 #4D6C16 #166C60
square
#35166C #6C1622 #4D6C16 #166C60
split-complementary
#35166C #6C6016 #226C16
monochromatic
#0C0519 #1C0C39 #35166C #4E209F #672BD2

Accessibility & contrast

On white

14.16
#35166C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#35166C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35166C
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35166C#FFFFFF#000000##FFFFFF
##35166C1.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#242E40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35166c;
/* rgb */ color: rgb(53, 22, 108);
/* oklch */ color: oklch(30.5% 0.137 292.8);
Tailwind
colors: {
  custom: {
    50: '#735797',
    500: '#35166c',
    950: '#000000',
  },
}
SCSS
$custom: #35166c;
$custom-light: #735797;
$custom-dark: #000000;
JSON
{
  "hex": "#35166c",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 108
  },
  "hsl": {
    "h": 261.628,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30514,
    "c": 0.13735,
    "h": 292.8
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#35166C
secondary
#7DA23C
accent
#E93FAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #35166C

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

Preview Lab → · Contrast checker → · Palette generator →

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