#35135B#35135B

#35135B is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.120 H 300.3°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#35135B
RGBrgb(53, 19, 91)
HSLhsl(268, 65%, 22%)
HSVhsv(268, 79%, 36%)
CMYKcmyk(41.8%, 79.1%, 0%, 64.3%)
CIE-LABlab(15.37, 32.52, -36.41)
CIE-LCHlch(15.37, 48.82, 311.77°)
OKLaboklab(28.5% 0.0607 -0.104)
OKLCHoklch(28.5% 0.12 300.3)
XYZxyz(3.5889, 1.9779, 10.0882)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35135B #395B13
analogous
#13155B #35135B #59135B
triadic
#35135B #5B3513 #135B35
tetradic
#35135B #5B1315 #395B13 #135B59
square
#35135B #5B1315 #395B13 #135B59
split-complementary
#35135B #5B5913 #155B13
monochromatic
#0F0519 #180828 #35135B #521E8E #7028C0

Accessibility & contrast

On white

15.05
#35135B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#35135B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35135B
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35135B#FFFFFF#000000##FFFFFF
##35135B1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265D
Deuteranopia (green-blind)
#00265A
Tritanopia (blue-blind)
#2C2536
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #35135b;
/* rgb */ color: rgb(53, 19, 91);
/* oklch */ color: oklch(28.5% 0.120 300.3);
Tailwind
colors: {
  custom: {
    50: '#71548a',
    500: '#35135b',
    950: '#000000',
  },
}
SCSS
$custom: #35135b;
$custom-light: #71548a;
$custom-dark: #000000;
JSON
{
  "hex": "#35135b",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 91
  },
  "hsl": {
    "h": 268.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28503,
    "c": 0.12037,
    "h": 300.3
  },
  "luminance": 0.01978
}

Semantic roles & 50–950 ramp

primary
#35135B
secondary
#679337
accent
#E83F99
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35135B

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

Preview Lab → · Contrast checker → · Palette generator →

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