#35134A#35134A

#35134A is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.0% C 0.100 H 309.7°. Best body text is #FFFFFF at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#35134A
RGBrgb(53, 19, 74)
HSLhsl(277, 59%, 18%)
HSVhsv(277, 74%, 29%)
CMYKcmyk(28.4%, 74.3%, 0%, 71%)
CIE-LABlab(13.93, 27.91, -27.18)
CIE-LCHlch(13.93, 38.95, 315.75°)
OKLaboklab(27.02% 0.0637 -0.0768)
OKLCHoklch(27.02% 0.1 309.7)
XYZxyz(2.9369, 1.7171, 6.6540)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35134A #284A13
analogous
#19134A #35134A #4A1343
triadic
#35134A #4A3513 #134A35
tetradic
#35134A #4A1913 #284A13 #13434A
square
#35134A #4A1913 #284A13 #13434A
split-complementary
#35134A #434A13 #134A19
monochromatic
#110618 #120619 #35134A #58207B #7B2CAB

Accessibility & contrast

On white

15.63
#35134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#35134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35134A
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35134A#FFFFFF#000000##FFFFFF
##35134A1.0015.631.3415.63
#FFFFFF15.631.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#0A2449
Tritanopia (blue-blind)
#321F2C
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #35134a;
/* rgb */ color: rgb(53, 19, 74);
/* oklch */ color: oklch(27.0% 0.100 309.7);
Tailwind
colors: {
  custom: {
    50: '#6f547d',
    500: '#35134a',
    950: '#000000',
  },
}
SCSS
$custom: #35134a;
$custom-light: #6f547d;
$custom-dark: #000000;
JSON
{
  "hex": "#35134a",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 277.091,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.2702,
    "c": 0.09983,
    "h": 309.7
  },
  "luminance": 0.01717
}

Semantic roles & 50–950 ramp

primary
#35134A
secondary
#538336
accent
#E24581
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #35134A

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

Preview Lab → · Contrast checker → · Palette generator →

#35134A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva