#35135F#35135F

#35135F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.9% C 0.125 H 298.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#35135F
RGBrgb(53, 19, 95)
HSLhsl(267, 67%, 22%)
HSVhsv(267, 80%, 37%)
CMYKcmyk(44.2%, 80%, 0%, 62.7%)
CIE-LABlab(15.74, 33.64, -38.48)
CIE-LCHlch(15.74, 51.12, 311.16°)
OKLaboklab(28.88% 0.0596 -0.11)
OKLCHoklch(28.88% 0.125 298.5)
XYZxyz(3.7661, 2.0488, 11.0213)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35135F #3D5F13
analogous
#13175F #35135F #5B135F
triadic
#35135F #5F3513 #135F35
tetradic
#35135F #5F1317 #3D5F13 #135F5B
square
#35135F #5F1317 #3D5F13 #135F5B
split-complementary
#35135F #5F5B13 #175F13
monochromatic
#0E051A #19092C #35135F #511D92 #6E27C5

Accessibility & contrast

On white

14.90
#35135F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#35135F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35135F
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35135F#FFFFFF#000000##FFFFFF
##35135F1.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #35135f;
/* rgb */ color: rgb(53, 19, 95);
/* oklch */ color: oklch(28.9% 0.125 298.5);
Tailwind
colors: {
  custom: {
    50: '#71558d',
    500: '#35135f',
    950: '#000000',
  },
}
SCSS
$custom: #35135f;
$custom-light: #71558d;
$custom-dark: #000000;
JSON
{
  "hex": "#35135f",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 95
  },
  "hsl": {
    "h": 266.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28878,
    "c": 0.12516,
    "h": 298.5
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#35135F
secondary
#6C9737
accent
#EA3E9D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #35135F

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

Preview Lab → · Contrast checker → · Palette generator →

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