#34135A#34135A

#34135A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.3% C 0.119 H 299.9°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#34135A
RGBrgb(52, 19, 90)
HSLhsl(268, 65%, 21%)
HSVhsv(268, 79%, 35%)
CMYKcmyk(42.2%, 78.9%, 0%, 64.7%)
CIE-LABlab(15.14, 32.04, -36.13)
CIE-LCHlch(15.14, 48.29, 311.57°)
OKLaboklab(28.28% 0.0593 -0.1032)
OKLCHoklch(28.28% 0.119 299.9)
XYZxyz(3.4940, 1.9340, 9.8601)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34135A #395A13
analogous
#13165A #34135A #58135A
triadic
#34135A #5A3413 #135A34
tetradic
#34135A #5A1316 #395A13 #135A58
square
#34135A #5A1316 #395A13 #135A58
split-complementary
#34135A #5A5813 #165A13
monochromatic
#0F0519 #170827 #34135A #511E8D #6E28BF

Accessibility & contrast

On white

15.14
#34135A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#34135A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34135A
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34135A#FFFFFF#000000##FFFFFF
##34135A1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002559
Tritanopia (blue-blind)
#2B2535
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #34135a;
/* rgb */ color: rgb(52, 19, 90);
/* oklch */ color: oklch(28.3% 0.119 299.9);
Tailwind
colors: {
  custom: {
    50: '#705489',
    500: '#34135a',
    950: '#000000',
  },
}
SCSS
$custom: #34135a;
$custom-light: #705489;
$custom-dark: #000000;
JSON
{
  "hex": "#34135a",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 90
  },
  "hsl": {
    "h": 267.887,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28277,
    "c": 0.11898,
    "h": 299.9
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#34135A
secondary
#689237
accent
#E8409A
background
#F7F5F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34135A

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

Preview Lab → · Contrast checker → · Palette generator →

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