#35156C#35156C

#35156C is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.138 H 293.0°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#35156C
RGBrgb(53, 21, 108)
HSLhsl(262, 67%, 25%)
HSVhsv(262, 81%, 42%)
CMYKcmyk(50.9%, 80.6%, 0%, 57.6%)
CIE-LABlab(17.35, 36.37, -44.42)
CIE-LCHlch(17.35, 57.41, 309.31°)
OKLaboklab(30.39% 0.054 -0.1275)
OKLCHoklch(30.39% 0.138 293)
XYZxyz(4.4424, 2.3758, 14.4090)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35156C #4C6C15
analogous
#15206C #35156C #60156C
triadic
#35156C #6C3515 #156C35
tetradic
#35156C #6C1520 #4C6C15 #156C60
square
#35156C #6C1520 #4C6C15 #156C60
split-complementary
#35156C #6C6015 #206C15
monochromatic
#0D051A #1C0B39 #35156C #4E1F9F #6729D2

Accessibility & contrast

On white

14.24
#35156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35156C
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35156C#FFFFFF#000000##FFFFFF
##35156C1.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6E
Deuteranopia (green-blind)
#00296A
Tritanopia (blue-blind)
#242D40
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35156c;
/* rgb */ color: rgb(53, 21, 108);
/* oklch */ color: oklch(30.4% 0.138 293.0);
Tailwind
colors: {
  custom: {
    50: '#735697',
    500: '#35156c',
    950: '#000000',
  },
}
SCSS
$custom: #35156c;
$custom-light: #735697;
$custom-dark: #000000;
JSON
{
  "hex": "#35156c",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 262.069,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30392,
    "c": 0.13845,
    "h": 293
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#35156C
secondary
#7CA33A
accent
#EA3DAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #35156C

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

Preview Lab → · Contrast checker → · Palette generator →

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