#35135D#35135D

#35135D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.123 H 299.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#35135D
RGBrgb(53, 19, 93)
HSLhsl(268, 66%, 22%)
HSVhsv(268, 80%, 36%)
CMYKcmyk(43%, 79.6%, 0%, 63.5%)
CIE-LABlab(15.55, 33.08, -37.45)
CIE-LCHlch(15.55, 49.97, 311.46°)
OKLaboklab(28.69% 0.0602 -0.107)
OKLCHoklch(28.69% 0.123 299.3)
XYZxyz(3.6764, 2.0129, 10.5486)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35135D #3B5D13
analogous
#13165D #35135D #5A135D
triadic
#35135D #5D3513 #135D35
tetradic
#35135D #5D1316 #3B5D13 #135D5A
square
#35135D #5D1316 #3B5D13 #135D5A
split-complementary
#35135D #5D5A13 #165D13
monochromatic
#0E0519 #18092A #35135D #521D90 #6F28C3

Accessibility & contrast

On white

14.97
#35135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35135D
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35135D#FFFFFF#000000##FFFFFF
##35135D1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#2B2637
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #35135d;
/* rgb */ color: rgb(53, 19, 93);
/* oklch */ color: oklch(28.7% 0.123 299.3);
Tailwind
colors: {
  custom: {
    50: '#71548c',
    500: '#35135d',
    950: '#000000',
  },
}
SCSS
$custom: #35135d;
$custom-light: #71548c;
$custom-dark: #000000;
JSON
{
  "hex": "#35135d",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 267.568,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28689,
    "c": 0.12277,
    "h": 299.3
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#35135D
secondary
#6A9537
accent
#E93F9B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35135D

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

Preview Lab → · Contrast checker → · Palette generator →

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