#35135C#35135C

#35135C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.122 H 299.8°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#35135C
RGBrgb(53, 19, 92)
HSLhsl(268, 66%, 22%)
HSVhsv(268, 79%, 36%)
CMYKcmyk(42.4%, 79.3%, 0%, 63.9%)
CIE-LABlab(15.46, 32.80, -36.93)
CIE-LCHlch(15.46, 49.40, 311.61°)
OKLaboklab(28.6% 0.0604 -0.1055)
OKLCHoklch(28.6% 0.122 299.8)
XYZxyz(3.6324, 1.9953, 10.3169)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35135C #3A5C13
analogous
#13165C #35135C #5A135C
triadic
#35135C #5C3513 #135C35
tetradic
#35135C #5C1316 #3A5C13 #135C5A
square
#35135C #5C1316 #3A5C13 #135C5A
split-complementary
#35135C #5C5A13 #165C13
monochromatic
#0F0519 #180929 #35135C #521D8F #6F28C1

Accessibility & contrast

On white

15.01
#35135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35135C
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35135C#FFFFFF#000000##FFFFFF
##35135C1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2C2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35135c;
/* rgb */ color: rgb(53, 19, 92);
/* oklch */ color: oklch(28.6% 0.122 299.8);
Tailwind
colors: {
  custom: {
    50: '#71548b',
    500: '#35135c',
    950: '#000000',
  },
}
SCSS
$custom: #35135c;
$custom-light: #71548b;
$custom-dark: #000000;
JSON
{
  "hex": "#35135c",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 267.945,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28596,
    "c": 0.12157,
    "h": 299.8
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#35135C
secondary
#699437
accent
#E93F9A
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35135C

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

Preview Lab → · Contrast checker → · Palette generator →

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