#35165F#35165F

#35165F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.3% C 0.121 H 297.8°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#35165F
RGBrgb(53, 22, 95)
HSLhsl(265, 62%, 23%)
HSVhsv(265, 77%, 37%)
CMYKcmyk(44.2%, 76.8%, 0%, 62.7%)
CIE-LABlab(16.29, 32.09, -37.59)
CIE-LCHlch(16.29, 49.42, 310.49°)
OKLaboklab(29.27% 0.0565 -0.1074)
OKLCHoklch(29.27% 0.121 297.8)
XYZxyz(3.8201, 2.1569, 11.0393)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35165F #405F16
analogous
#161C5F #35165F #59165F
triadic
#35165F #5F3516 #165F35
tetradic
#35165F #5F161C #405F16 #165F59
square
#35165F #5F161C #405F16 #165F59
split-complementary
#35165F #5F5916 #1C5F16
monochromatic
#0E0619 #190A2D #35165F #512291 #6C2DC2

Accessibility & contrast

On white

14.67
#35165F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#35165F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35165F
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35165F#FFFFFF#000000##FFFFFF
##35165F1.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00285E
Tritanopia (blue-blind)
#2A2839
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35165f;
/* rgb */ color: rgb(53, 22, 95);
/* oklch */ color: oklch(29.3% 0.121 297.8);
Tailwind
colors: {
  custom: {
    50: '#71568d',
    500: '#35165f',
    950: '#000000',
  },
}
SCSS
$custom: #35165f;
$custom-light: #71568d;
$custom-dark: #000000;
JSON
{
  "hex": "#35165f",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 95
  },
  "hsl": {
    "h": 265.479,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29266,
    "c": 0.1214,
    "h": 297.8
  },
  "luminance": 0.02157
}

Semantic roles & 50–950 ramp

primary
#35165F
secondary
#6F963B
accent
#E542A0
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35165F

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

Preview Lab → · Contrast checker → · Palette generator →

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