#34146D#34146D

#34146D is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.141 H 292.1°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#34146D
RGBrgb(52, 20, 109)
HSLhsl(262, 69%, 25%)
HSVhsv(262, 82%, 43%)
CMYKcmyk(52.3%, 81.7%, 0%, 57.3%)
CIE-LABlab(17.15, 36.99, -45.40)
CIE-LCHlch(17.15, 58.56, 309.17°)
OKLaboklab(30.26% 0.0529 -0.1304)
OKLCHoklch(30.26% 0.141 292.1)
XYZxyz(4.4259, 2.3343, 14.6824)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34146D #4D6D14
analogous
#14216D #34146D #60146D
triadic
#34146D #6D3414 #146D34
tetradic
#34146D #6D1421 #4D6D14 #146D60
square
#34146D #6D1421 #4D6D14 #146D60
split-complementary
#34146D #6D6014 #216D14
monochromatic
#0C051A #1B0B39 #34146D #4D1DA1 #6527D4

Accessibility & contrast

On white

14.31
#34146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#34146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34146D
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34146D#FFFFFF#000000##FFFFFF
##34146D1.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6F
Deuteranopia (green-blind)
#00286B
Tritanopia (blue-blind)
#212D40
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34146d;
/* rgb */ color: rgb(52, 20, 109);
/* oklch */ color: oklch(30.3% 0.141 292.1);
Tailwind
colors: {
  custom: {
    50: '#735698',
    500: '#34146d',
    950: '#000000',
  },
}
SCSS
$custom: #34146d;
$custom-light: #735698;
$custom-dark: #000000;
JSON
{
  "hex": "#34146d",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 261.573,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30258,
    "c": 0.14069,
    "h": 292.1
  },
  "luminance": 0.02335
}

Semantic roles & 50–950 ramp

primary
#34146D
secondary
#7DA439
accent
#EC3CAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #34146D

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

Preview Lab → · Contrast checker → · Palette generator →

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