#35165C#35165C

#35165C is a dark, moderate violet. Relative luminance 0.021; OKLCH L 29.0% C 0.118 H 299.1°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#35165C
RGBrgb(53, 22, 92)
HSLhsl(267, 61%, 22%)
HSVhsv(267, 76%, 36%)
CMYKcmyk(42.4%, 76.1%, 0%, 63.9%)
CIE-LABlab(16.02, 31.23, -36.02)
CIE-LCHlch(16.02, 47.67, 310.92°)
OKLaboklab(28.99% 0.0572 -0.1028)
OKLCHoklch(28.99% 0.118 299.1)
XYZxyz(3.6864, 2.1034, 10.3349)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35165C #3D5C16
analogous
#161A5C #35165C #58165C
triadic
#35165C #5C3516 #165C35
tetradic
#35165C #5C161A #3D5C16 #165C58
square
#35165C #5C161A #3D5C16 #165C58
split-complementary
#35165C #5C5816 #1A5C16
monochromatic
#0E0619 #190A2B #35165C #51228D #6E2EBF

Accessibility & contrast

On white

14.78
#35165C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35165C
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35165C#FFFFFF#000000##FFFFFF
##35165C1.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285E
Deuteranopia (green-blind)
#00275B
Tritanopia (blue-blind)
#2C2737
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35165c;
/* rgb */ color: rgb(53, 22, 92);
/* oklch */ color: oklch(29.0% 0.118 299.1);
Tailwind
colors: {
  custom: {
    50: '#70568b',
    500: '#35165c',
    950: '#000000',
  },
}
SCSS
$custom: #35165c;
$custom-light: #70568b;
$custom-dark: #000000;
JSON
{
  "hex": "#35165c",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 92
  },
  "hsl": {
    "h": 266.571,
    "s": 61.404,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28991,
    "c": 0.11767,
    "h": 299.1
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#35165C
secondary
#6C933B
accent
#E5439D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35165C

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

Preview Lab → · Contrast checker → · Palette generator →

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