#35165B#35165B

#35165B is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.116 H 299.5°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#35165B
RGBrgb(53, 22, 91)
HSLhsl(267, 61%, 22%)
HSVhsv(267, 76%, 36%)
CMYKcmyk(41.8%, 75.8%, 0%, 64.3%)
CIE-LABlab(15.93, 30.94, -35.50)
CIE-LCHlch(15.93, 47.09, 311.08°)
OKLaboklab(28.9% 0.0574 -0.1013)
OKLCHoklch(28.9% 0.116 299.5)
XYZxyz(3.6430, 2.0860, 10.1062)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35165B #3C5B16
analogous
#16195B #35165B #58165B
triadic
#35165B #5B3516 #165B35
tetradic
#35165B #5B1619 #3C5B16 #165B58
square
#35165B #5B1619 #3C5B16 #165B58
split-complementary
#35165B #5B5816 #195B16
monochromatic
#0E0619 #180A2A #35165B #52228C #6E2EBE

Accessibility & contrast

On white

14.82
#35165B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35165B
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35165B#FFFFFF#000000##FFFFFF
##35165B1.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285D
Deuteranopia (green-blind)
#00275A
Tritanopia (blue-blind)
#2C2736
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35165b;
/* rgb */ color: rgb(53, 22, 91);
/* oklch */ color: oklch(28.9% 0.116 299.5);
Tailwind
colors: {
  custom: {
    50: '#70568a',
    500: '#35165b',
    950: '#000000',
  },
}
SCSS
$custom: #35165b;
$custom-light: #70568a;
$custom-dark: #000000;
JSON
{
  "hex": "#35165b",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 91
  },
  "hsl": {
    "h": 266.957,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.289,
    "c": 0.11642,
    "h": 299.5
  },
  "luminance": 0.02086
}

Semantic roles & 50–950 ramp

primary
#35165B
secondary
#6B923B
accent
#E4449C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35165B

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

Preview Lab → · Contrast checker → · Palette generator →

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