#35156B#35156B

#35156B is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.137 H 293.3°. Best body text is #FFFFFF at 14.28:1 contrast (WCAG AA passes).

Color values

HEX#35156B
RGBrgb(53, 21, 107)
HSLhsl(262, 67%, 25%)
HSVhsv(262, 80%, 42%)
CMYKcmyk(50.5%, 80.4%, 0%, 58%)
CIE-LABlab(17.25, 36.08, -43.93)
CIE-LCHlch(17.25, 56.85, 309.39°)
OKLaboklab(30.29% 0.0543 -0.126)
OKLCHoklch(30.29% 0.137 293.3)
XYZxyz(4.3895, 2.3546, 14.1303)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35156B #4B6B15
analogous
#15206B #35156B #60156B
triadic
#35156B #6B3515 #156B35
tetradic
#35156B #6B1520 #4B6B15 #156B60
square
#35156B #6B1520 #4B6B15 #156B60
split-complementary
#35156B #6B6015 #206B15
monochromatic
#0D051A #1C0B38 #35156B #4E1F9E #6829D1

Accessibility & contrast

On white

14.28
#35156B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#35156B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35156B
14.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35156B#FFFFFF#000000##FFFFFF
##35156B1.0014.281.4714.28
#FFFFFF14.281.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002969
Tritanopia (blue-blind)
#242D3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #35156b;
/* rgb */ color: rgb(53, 21, 107);
/* oklch */ color: oklch(30.3% 0.137 293.3);
Tailwind
colors: {
  custom: {
    50: '#735696',
    500: '#35156b',
    950: '#000000',
  },
}
SCSS
$custom: #35156b;
$custom-light: #735696;
$custom-dark: #000000;
JSON
{
  "hex": "#35156b",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 107
  },
  "hsl": {
    "h": 262.326,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30292,
    "c": 0.13725,
    "h": 293.3
  },
  "luminance": 0.02355
}

Semantic roles & 50–950 ramp

primary
#35156B
secondary
#7BA23A
accent
#EA3EAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #35156B

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

Preview Lab → · Contrast checker → · Palette generator →

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