#35165D#35165D

#35165D is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.1% C 0.119 H 298.6°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#35165D
RGBrgb(53, 22, 93)
HSLhsl(266, 62%, 23%)
HSVhsv(266, 76%, 36%)
CMYKcmyk(43%, 76.3%, 0%, 63.5%)
CIE-LABlab(16.11, 31.51, -36.55)
CIE-LCHlch(16.11, 48.26, 310.77°)
OKLaboklab(29.08% 0.057 -0.1044)
OKLCHoklch(29.08% 0.119 298.6)
XYZxyz(3.7304, 2.1210, 10.5667)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35165D #3E5D16
analogous
#161B5D #35165D #58165D
triadic
#35165D #5D3516 #165D35
tetradic
#35165D #5D161B #3E5D16 #165D58
square
#35165D #5D161B #3E5D16 #165D58
split-complementary
#35165D #5D5816 #1B5D16
monochromatic
#0E0619 #190A2C #35165D #51228E #6D2DC0

Accessibility & contrast

On white

14.75
#35165D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#35165D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35165D
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35165D#FFFFFF#000000##FFFFFF
##35165D1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285F
Deuteranopia (green-blind)
#00275C
Tritanopia (blue-blind)
#2B2838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35165d;
/* rgb */ color: rgb(53, 22, 93);
/* oklch */ color: oklch(29.1% 0.119 298.6);
Tailwind
colors: {
  custom: {
    50: '#71568c',
    500: '#35165d',
    950: '#000000',
  },
}
SCSS
$custom: #35165d;
$custom-light: #71568c;
$custom-dark: #000000;
JSON
{
  "hex": "#35165d",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 93
  },
  "hsl": {
    "h": 266.197,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.29082,
    "c": 0.11891,
    "h": 298.6
  },
  "luminance": 0.02121
}

Semantic roles & 50–950 ramp

primary
#35165D
secondary
#6D943B
accent
#E5439E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35165D

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

Preview Lab → · Contrast checker → · Palette generator →

#35165D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva