#34136A#34136A

#34136A is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.138 H 293.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#34136A
RGBrgb(52, 19, 106)
HSLhsl(263, 70%, 25%)
HSVhsv(263, 82%, 42%)
CMYKcmyk(50.9%, 82.1%, 0%, 58.4%)
CIE-LABlab(16.68, 36.60, -44.21)
CIE-LCHlch(16.68, 57.39, 309.62°)
OKLaboklab(29.84% 0.0547 -0.1269)
OKLCHoklch(29.84% 0.138 293.3)
XYZxyz(4.2498, 2.2363, 13.8406)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34136A #496A13
analogous
#131D6A #34136A #60136A
triadic
#34136A #6A3413 #136A34
tetradic
#34136A #6A131D #496A13 #136A60
square
#34136A #6A131D #496A13 #136A60
split-complementary
#34136A #6A6013 #1D6A13
monochromatic
#0D051A #1B0A36 #34136A #4D1C9E #6726D2

Accessibility & contrast

On white

14.51
#34136A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34136A
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34136A#FFFFFF#000000##FFFFFF
##34136A1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002868
Tritanopia (blue-blind)
#232B3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #34136a;
/* rgb */ color: rgb(52, 19, 106);
/* oklch */ color: oklch(29.8% 0.138 293.3);
Tailwind
colors: {
  custom: {
    50: '#725595',
    500: '#34136a',
    950: '#000000',
  },
}
SCSS
$custom: #34136a;
$custom-light: #725595;
$custom-dark: #000000;
JSON
{
  "hex": "#34136a",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 106
  },
  "hsl": {
    "h": 262.759,
    "s": 69.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29836,
    "c": 0.13817,
    "h": 293.3
  },
  "luminance": 0.02236
}

Semantic roles & 50–950 ramp

primary
#34136A
secondary
#79A138
accent
#EC3BA9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #34136A

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

Preview Lab → · Contrast checker → · Palette generator →

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