#34146A#34146A

#34146A is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.137 H 293.1°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#34146A
RGBrgb(52, 20, 106)
HSLhsl(262, 68%, 25%)
HSVhsv(262, 81%, 42%)
CMYKcmyk(50.9%, 81.1%, 0%, 58.4%)
CIE-LABlab(16.85, 36.12, -43.94)
CIE-LCHlch(16.85, 56.88, 309.42°)
OKLaboklab(29.95% 0.0538 -0.1261)
OKLCHoklch(29.95% 0.137 293.1)
XYZxyz(4.2671, 2.2708, 13.8464)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34146A #4A6A14
analogous
#141F6A #34146A #5F146A
triadic
#34146A #6A3414 #146A34
tetradic
#34146A #6A141F #4A6A14 #146A5F
square
#34146A #6A141F #4A6A14 #146A5F
split-complementary
#34146A #6A5F14 #1F6A14
monochromatic
#0D051A #1B0A37 #34146A #4D1E9D #6727D1

Accessibility & contrast

On white

14.44
#34146A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#34146A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34146A
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34146A#FFFFFF#000000##FFFFFF
##34146A1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#232C3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34146a;
/* rgb */ color: rgb(52, 20, 106);
/* oklch */ color: oklch(30.0% 0.137 293.1);
Tailwind
colors: {
  custom: {
    50: '#725695',
    500: '#34146a',
    950: '#000000',
  },
}
SCSS
$custom: #34146a;
$custom-light: #725695;
$custom-dark: #000000;
JSON
{
  "hex": "#34146a",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 106
  },
  "hsl": {
    "h": 262.326,
    "s": 68.254,
    "l": 24.706
  },
  "oklch": {
    "l": 0.29953,
    "c": 0.13711,
    "h": 293.1
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#34146A
secondary
#7AA139
accent
#EB3DAA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #34146A

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

Preview Lab → · Contrast checker → · Palette generator →

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