#35156F#35156F

#35156F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.142 H 291.9°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#35156F
RGBrgb(53, 21, 111)
HSLhsl(261, 68%, 26%)
HSVhsv(261, 81%, 44%)
CMYKcmyk(52.3%, 81.1%, 0%, 56.5%)
CIE-LABlab(17.65, 37.24, -45.88)
CIE-LCHlch(17.65, 59.09, 309.06°)
OKLaboklab(30.69% 0.0531 -0.1318)
OKLCHoklch(30.69% 0.142 291.9)
XYZxyz(4.6048, 2.4407, 15.2643)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35156F #4F6F15
analogous
#15226F #35156F #62156F
triadic
#35156F #6F3515 #156F35
tetradic
#35156F #6F1522 #4F6F15 #156F62
square
#35156F #6F1522 #4F6F15 #156F62
split-complementary
#35156F #6F6215 #226F15
monochromatic
#0C051A #1C0B3C #35156F #4E1FA2 #6628D6

Accessibility & contrast

On white

14.11
#35156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#35156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35156F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35156F#FFFFFF#000000##FFFFFF
##35156F1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35156f;
/* rgb */ color: rgb(53, 21, 111);
/* oklch */ color: oklch(30.7% 0.142 291.9);
Tailwind
colors: {
  custom: {
    50: '#735799',
    500: '#35156f',
    950: '#000000',
  },
}
SCSS
$custom: #35156f;
$custom-light: #735799;
$custom-dark: #000000;
JSON
{
  "hex": "#35156f",
  "rgb": {
    "r": 53,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 261.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30694,
    "c": 0.14204,
    "h": 291.9
  },
  "luminance": 0.02441
}

Semantic roles & 50–950 ramp

primary
#35156F
secondary
#7FA53A
accent
#EB3DAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35156F

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

Preview Lab → · Contrast checker → · Palette generator →

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