#35134F#35134F

#35134F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.4% C 0.106 H 306.6°. Best body text is #FFFFFF at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#35134F
RGBrgb(53, 19, 79)
HSLhsl(274, 61%, 19%)
HSVhsv(274, 76%, 31%)
CMYKcmyk(32.9%, 75.9%, 0%, 69%)
CIE-LABlab(14.33, 29.23, -29.97)
CIE-LCHlch(14.33, 41.87, 314.29°)
OKLaboklab(27.44% 0.0631 -0.085)
OKLCHoklch(27.44% 0.106 306.6)
XYZxyz(3.1121, 1.7872, 7.5766)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35134F #2D4F13
analogous
#17134F #35134F #4F134B
triadic
#35134F #4F3513 #134F35
tetradic
#35134F #4F1713 #2D4F13 #134B4F
square
#35134F #4F1713 #2D4F13 #134B4F
split-complementary
#35134F #4B4F13 #134F17
monochromatic
#110619 #14071E #35134F #561F80 #772BB2

Accessibility & contrast

On white

15.47
#35134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#35134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35134F
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35134F#FFFFFF#000000##FFFFFF
##35134F1.0015.471.3615.47
#FFFFFF15.471.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002351
Deuteranopia (green-blind)
#03244E
Tritanopia (blue-blind)
#31202F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #35134f;
/* rgb */ color: rgb(53, 19, 79);
/* oklch */ color: oklch(27.4% 0.106 306.6);
Tailwind
colors: {
  custom: {
    50: '#6f5481',
    500: '#35134f',
    950: '#000000',
  },
}
SCSS
$custom: #35134f;
$custom-light: #6f5481;
$custom-dark: #000000;
JSON
{
  "hex": "#35134f",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 274,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27435,
    "c": 0.10589,
    "h": 306.6
  },
  "luminance": 0.01787
}

Semantic roles & 50–950 ramp

primary
#35134F
secondary
#598836
accent
#E44389
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08030A
muted
#7B787C

Preview Lab

Preview with #35134F

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

Preview Lab → · Contrast checker → · Palette generator →

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