#35156E#35156E

#35156E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.141 H 292.3°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#35156E
RGBrgb(53, 21, 110)
HSLhsl(262, 68%, 26%)
HSVhsv(262, 81%, 43%)
CMYKcmyk(51.8%, 80.9%, 0%, 56.9%)
CIE-LABlab(17.55, 36.95, -45.40)
CIE-LCHlch(17.55, 58.53, 309.14°)
OKLaboklab(30.59% 0.0534 -0.1303)
OKLCHoklch(30.59% 0.141 292.3)
XYZxyz(4.5500, 2.4188, 14.9760)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35156E #4E6E15
analogous
#15216E #35156E #61156E
triadic
#35156E #6E3515 #156E35
tetradic
#35156E #6E1521 #4E6E15 #156E61
square
#35156E #6E1521 #4E6E15 #156E61
split-complementary
#35156E #6E6115 #216E15
monochromatic
#0C051A #1C0B3B #35156E #4E1FA1 #6729D5

Accessibility & contrast

On white

14.15
#35156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35156E
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35156E#FFFFFF#000000##FFFFFF
##35156E1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#222E41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35156e;
/* rgb */ color: rgb(53, 21, 110);
/* oklch */ color: oklch(30.6% 0.141 292.3);
Tailwind
colors: {
  custom: {
    50: '#735798',
    500: '#35156e',
    950: '#000000',
  },
}
SCSS
$custom: #35156e;
$custom-light: #735798;
$custom-dark: #000000;
JSON
{
  "hex": "#35156e",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 261.573,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30593,
    "c": 0.14085,
    "h": 292.3
  },
  "luminance": 0.02419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #35156E

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

Preview Lab → · Contrast checker → · Palette generator →

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