#35165A#35165A

#35165A is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.115 H 300.0°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#35165A
RGBrgb(53, 22, 90)
HSLhsl(267, 61%, 22%)
HSVhsv(267, 76%, 35%)
CMYKcmyk(41.1%, 75.6%, 0%, 64.7%)
CIE-LABlab(15.84, 30.66, -34.97)
CIE-LCHlch(15.84, 46.50, 311.24°)
OKLaboklab(28.81% 0.0576 -0.0997)
OKLCHoklch(28.81% 0.115 300)
XYZxyz(3.6001, 2.0689, 9.8805)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35165A #3B5A16
analogous
#16195A #35165A #57165A
triadic
#35165A #5A3516 #165A35
tetradic
#35165A #5A1619 #3B5A16 #165A57
square
#35165A #5A1619 #3B5A16 #165A57
split-complementary
#35165A #5A5716 #195A16
monochromatic
#0E0619 #180A29 #35165A #52228B #6F2EBC

Accessibility & contrast

On white

14.85
#35165A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#35165A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35165A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35165A#FFFFFF#000000##FFFFFF
##35165A1.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002759
Tritanopia (blue-blind)
#2D2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35165a;
/* rgb */ color: rgb(53, 22, 90);
/* oklch */ color: oklch(28.8% 0.115 300.0);
Tailwind
colors: {
  custom: {
    50: '#705689',
    500: '#35165a',
    950: '#000000',
  },
}
SCSS
$custom: #35165a;
$custom-light: #705689;
$custom-dark: #000000;
JSON
{
  "hex": "#35165a",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 90
  },
  "hsl": {
    "h": 267.353,
    "s": 60.714,
    "l": 21.961
  },
  "oklch": {
    "l": 0.2881,
    "c": 0.11517,
    "h": 300
  },
  "luminance": 0.02069
}

Semantic roles & 50–950 ramp

primary
#35165A
secondary
#6A913B
accent
#E4449B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #35165A

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

Preview Lab → · Contrast checker → · Palette generator →

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