#35156D#35156D

#35156D is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.140 H 292.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#35156D
RGBrgb(53, 21, 109)
HSLhsl(262, 68%, 25%)
HSVhsv(262, 81%, 43%)
CMYKcmyk(51.4%, 80.7%, 0%, 57.3%)
CIE-LABlab(17.45, 36.66, -44.91)
CIE-LCHlch(17.45, 57.97, 309.22°)
OKLaboklab(30.49% 0.0537 -0.1289)
OKLCHoklch(30.49% 0.14 292.6)
XYZxyz(4.4959, 2.3972, 14.6908)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35156D #4D6D15
analogous
#15216D #35156D #61156D
triadic
#35156D #6D3515 #156D35
tetradic
#35156D #6D1521 #4D6D15 #156D61
square
#35156D #6D1521 #4D6D15 #156D61
split-complementary
#35156D #6D6115 #216D15
monochromatic
#0C051A #1C0B3A #35156D #4E1FA0 #6729D4

Accessibility & contrast

On white

14.19
#35156D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#35156D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35156D
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35156D#FFFFFF#000000##FFFFFF
##35156D1.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6F
Deuteranopia (green-blind)
#00296B
Tritanopia (blue-blind)
#232D40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35156d;
/* rgb */ color: rgb(53, 21, 109);
/* oklch */ color: oklch(30.5% 0.140 292.6);
Tailwind
colors: {
  custom: {
    50: '#735698',
    500: '#35156d',
    950: '#000000',
  },
}
SCSS
$custom: #35156d;
$custom-light: #735698;
$custom-dark: #000000;
JSON
{
  "hex": "#35156d",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 109
  },
  "hsl": {
    "h": 261.818,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30492,
    "c": 0.13965,
    "h": 292.6
  },
  "luminance": 0.02397
}

Semantic roles & 50–950 ramp

primary
#35156D
secondary
#7DA33A
accent
#EB3DAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35156D

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

Preview Lab → · Contrast checker → · Palette generator →

#35156D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva