#35165E#35165E

#35165E is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.120 H 298.2°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#35165E
RGBrgb(53, 22, 94)
HSLhsl(266, 62%, 23%)
HSVhsv(266, 77%, 37%)
CMYKcmyk(43.6%, 76.6%, 0%, 63.1%)
CIE-LABlab(16.20, 31.80, -37.07)
CIE-LCHlch(16.20, 48.84, 310.63°)
OKLaboklab(29.17% 0.0568 -0.1059)
OKLCHoklch(29.17% 0.12 298.2)
XYZxyz(3.7750, 2.1388, 10.8014)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35165E #3F5E16
analogous
#161B5E #35165E #59165E
triadic
#35165E #5E3516 #165E35
tetradic
#35165E #5E161B #3F5E16 #165E59
square
#35165E #5E161B #3F5E16 #165E59
split-complementary
#35165E #5E5916 #1B5E16
monochromatic
#0E0619 #190A2C #35165E #512290 #6D2DC1

Accessibility & contrast

On white

14.71
#35165E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35165E
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35165E#FFFFFF#000000##FFFFFF
##35165E1.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002860
Deuteranopia (green-blind)
#00275D
Tritanopia (blue-blind)
#2B2838
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #35165e;
/* rgb */ color: rgb(53, 22, 94);
/* oklch */ color: oklch(29.2% 0.120 298.2);
Tailwind
colors: {
  custom: {
    50: '#71568c',
    500: '#35165e',
    950: '#000000',
  },
}
SCSS
$custom: #35165e;
$custom-light: #71568c;
$custom-dark: #000000;
JSON
{
  "hex": "#35165e",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 94
  },
  "hsl": {
    "h": 265.833,
    "s": 62.069,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29173,
    "c": 0.12016,
    "h": 298.2
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#35165E
secondary
#6E953B
accent
#E5439F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35165E

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

Preview Lab → · Contrast checker → · Palette generator →

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