#34146B#34146B

#34146B is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.138 H 292.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#34146B
RGBrgb(52, 20, 107)
HSLhsl(262, 69%, 25%)
HSVhsv(262, 81%, 42%)
CMYKcmyk(51.4%, 81.3%, 0%, 58%)
CIE-LABlab(16.95, 36.40, -44.43)
CIE-LCHlch(16.95, 57.44, 309.33°)
OKLaboklab(30.05% 0.0535 -0.1275)
OKLCHoklch(30.05% 0.138 292.8)
XYZxyz(4.3194, 2.2918, 14.1218)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34146B #4B6B14
analogous
#141F6B #34146B #60146B
triadic
#34146B #6B3414 #146B34
tetradic
#34146B #6B141F #4B6B14 #146B60
square
#34146B #6B141F #4B6B14 #146B60
split-complementary
#34146B #6B6014 #1F6B14
monochromatic
#0D051A #1B0A37 #34146B #4D1E9F #6627D2

Accessibility & contrast

On white

14.40
#34146B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#34146B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34146B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34146B#FFFFFF#000000##FFFFFF
##34146B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6D
Deuteranopia (green-blind)
#002869
Tritanopia (blue-blind)
#222C3F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34146b;
/* rgb */ color: rgb(52, 20, 107);
/* oklch */ color: oklch(30.1% 0.138 292.8);
Tailwind
colors: {
  custom: {
    50: '#725696',
    500: '#34146b',
    950: '#000000',
  },
}
SCSS
$custom: #34146b;
$custom-light: #725696;
$custom-dark: #000000;
JSON
{
  "hex": "#34146b",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 107
  },
  "hsl": {
    "h": 262.069,
    "s": 68.504,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30054,
    "c": 0.1383,
    "h": 292.8
  },
  "luminance": 0.02292
}

Semantic roles & 50–950 ramp

primary
#34146B
secondary
#7BA239
accent
#EB3CAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #34146B

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

Preview Lab → · Contrast checker → · Palette generator →

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