#35166B#35166B

#35166B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.136 H 293.1°. Best body text is #FFFFFF at 14.20:1 contrast (WCAG AA passes).

Color values

HEX#35166B
RGBrgb(53, 22, 107)
HSLhsl(262, 66%, 25%)
HSVhsv(262, 79%, 42%)
CMYKcmyk(50.5%, 79.4%, 0%, 58%)
CIE-LABlab(17.42, 35.58, -43.65)
CIE-LCHlch(17.42, 56.31, 309.18°)
OKLaboklab(30.42% 0.0534 -0.1252)
OKLCHoklch(30.42% 0.136 293.1)
XYZxyz(4.4082, 2.3921, 14.1365)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35166B #4C6B16
analogous
#16226B #35166B #5F166B
triadic
#35166B #6B3516 #166B35
tetradic
#35166B #6B1622 #4C6B16 #166B5F
square
#35166B #6B1622 #4C6B16 #166B5F
split-complementary
#35166B #6B5F16 #226B16
monochromatic
#0D0519 #1C0C38 #35166B #4E209E #672BD1

Accessibility & contrast

On white

14.20
#35166B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35166B
14.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35166B#FFFFFF#000000##FFFFFF
##35166B1.0014.201.4814.20
#FFFFFF14.201.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#242D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35166b;
/* rgb */ color: rgb(53, 22, 107);
/* oklch */ color: oklch(30.4% 0.136 293.1);
Tailwind
colors: {
  custom: {
    50: '#735796',
    500: '#35166b',
    950: '#000000',
  },
}
SCSS
$custom: #35166b;
$custom-light: #735796;
$custom-dark: #000000;
JSON
{
  "hex": "#35166b",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 107
  },
  "hsl": {
    "h": 261.882,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30415,
    "c": 0.13613,
    "h": 293.1
  },
  "luminance": 0.02392
}

Semantic roles & 50–950 ramp

primary
#35166B
secondary
#7CA13B
accent
#E93FAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #35166B

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

Preview Lab → · Contrast checker → · Palette generator →

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