#35166F#35166F

#35166F is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.141 H 291.7°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#35166F
RGBrgb(53, 22, 111)
HSLhsl(261, 67%, 26%)
HSVhsv(261, 80%, 44%)
CMYKcmyk(52.3%, 80.2%, 0%, 56.5%)
CIE-LABlab(17.82, 36.75, -45.60)
CIE-LCHlch(17.82, 58.56, 308.86°)
OKLaboklab(30.81% 0.0522 -0.1309)
OKLCHoklch(30.81% 0.141 291.7)
XYZxyz(4.6235, 2.4782, 15.2706)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35166F #506F16
analogous
#16236F #35166F #61166F
triadic
#35166F #6F3516 #166F35
tetradic
#35166F #6F1623 #506F16 #166F61
square
#35166F #6F1623 #506F16 #166F61
split-complementary
#35166F #6F6116 #236F16
monochromatic
#0C051A #1D0C3C #35166F #4D20A2 #662BD5

Accessibility & contrast

On white

14.04
#35166F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#35166F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35166F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35166F#FFFFFF#000000##FFFFFF
##35166F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D72
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#222F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35166f;
/* rgb */ color: rgb(53, 22, 111);
/* oklch */ color: oklch(30.8% 0.141 291.7);
Tailwind
colors: {
  custom: {
    50: '#735799',
    500: '#35166f',
    950: '#000000',
  },
}
SCSS
$custom: #35166f;
$custom-light: #735799;
$custom-dark: #000000;
JSON
{
  "hex": "#35166f",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 111
  },
  "hsl": {
    "h": 260.899,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30814,
    "c": 0.14098,
    "h": 291.7
  },
  "luminance": 0.02478
}

Semantic roles & 50–950 ramp

primary
#35166F
secondary
#80A53C
accent
#EA3EAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35166F

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

Preview Lab → · Contrast checker → · Palette generator →

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