#34135D#34135D

#34135D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.123 H 298.5°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#34135D
RGBrgb(52, 19, 93)
HSLhsl(267, 66%, 22%)
HSVhsv(267, 80%, 36%)
CMYKcmyk(44.1%, 79.6%, 0%, 63.5%)
CIE-LABlab(15.41, 32.89, -37.69)
CIE-LCHlch(15.41, 50.02, 311.11°)
OKLaboklab(28.56% 0.0585 -0.1077)
OKLCHoklch(28.56% 0.123 298.5)
XYZxyz(3.6243, 1.9861, 10.5462)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34135D #3C5D13
analogous
#13175D #34135D #59135D
triadic
#34135D #5D3413 #135D34
tetradic
#34135D #5D1317 #3C5D13 #135D59
square
#34135D #5D1317 #3C5D13 #135D59
split-complementary
#34135D #5D5913 #175D13
monochromatic
#0E0519 #18092A #34135D #501D90 #6D28C3

Accessibility & contrast

On white

15.03
#34135D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#34135D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34135D
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34135D#FFFFFF#000000##FFFFFF
##34135D1.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#2A2637
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #34135d;
/* rgb */ color: rgb(52, 19, 93);
/* oklch */ color: oklch(28.6% 0.123 298.5);
Tailwind
colors: {
  custom: {
    50: '#70548c',
    500: '#34135d',
    950: '#000000',
  },
}
SCSS
$custom: #34135d;
$custom-light: #70548c;
$custom-dark: #000000;
JSON
{
  "hex": "#34135d",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 93
  },
  "hsl": {
    "h": 266.757,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28559,
    "c": 0.12261,
    "h": 298.5
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#34135D
secondary
#6B9537
accent
#E93F9D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34135D

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

Preview Lab → · Contrast checker → · Palette generator →

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