#35134C#35134C

#35134C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.102 H 308.4°. Best body text is #FFFFFF at 15.57:1 contrast (WCAG AA passes).

Color values

HEX#35134C
RGBrgb(53, 19, 76)
HSLhsl(276, 60%, 19%)
HSVhsv(276, 75%, 30%)
CMYKcmyk(30.3%, 75%, 0%, 70.2%)
CIE-LABlab(14.08, 28.43, -28.31)
CIE-LCHlch(14.08, 40.12, 315.13°)
OKLaboklab(27.18% 0.0635 -0.0801)
OKLCHoklch(27.18% 0.102 308.4)
XYZxyz(3.0053, 1.7445, 7.0145)
Luminance0.0174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35134C #2A4C13
analogous
#18134C #35134C #4C1346
triadic
#35134C #4C3513 #134C35
tetradic
#35134C #4C1813 #2A4C13 #13464C
square
#35134C #4C1813 #2A4C13 #13464C
split-complementary
#35134C #464C13 #134C18
monochromatic
#110618 #13071B #35134C #571F7D #792BAE

Accessibility & contrast

On white

15.57
#35134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#35134C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35134C
15.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35134C#FFFFFF#000000##FFFFFF
##35134C1.0015.571.3515.57
#FFFFFF15.571.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#07244B
Tritanopia (blue-blind)
#311F2D
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #35134c;
/* rgb */ color: rgb(53, 19, 76);
/* oklch */ color: oklch(27.2% 0.102 308.4);
Tailwind
colors: {
  custom: {
    50: '#6f547e',
    500: '#35134c',
    950: '#000000',
  },
}
SCSS
$custom: #35134c;
$custom-light: #6f547e;
$custom-dark: #000000;
JSON
{
  "hex": "#35134c",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 275.789,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27184,
    "c": 0.10225,
    "h": 308.4
  },
  "luminance": 0.01744
}

Semantic roles & 50–950 ramp

primary
#35134C
secondary
#568536
accent
#E34585
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #35134C

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

Preview Lab → · Contrast checker → · Palette generator →

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