#34146E#34146E

#34146E is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.142 H 291.7°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#34146E
RGBrgb(52, 20, 110)
HSLhsl(261, 69%, 25%)
HSVhsv(261, 82%, 43%)
CMYKcmyk(52.7%, 81.8%, 0%, 56.9%)
CIE-LABlab(17.25, 37.28, -45.88)
CIE-LCHlch(17.25, 59.12, 309.09°)
OKLaboklab(30.36% 0.0525 -0.1318)
OKLCHoklch(30.36% 0.142 291.7)
XYZxyz(4.4800, 2.3560, 14.9675)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34146E #4E6E14
analogous
#14216E #34146E #61146E
triadic
#34146E #6E3414 #146E34
tetradic
#34146E #6E1421 #4E6E14 #146E61
square
#34146E #6E1421 #4E6E14 #146E61
split-complementary
#34146E #6E6114 #216E14
monochromatic
#0C051A #1C0B3A #34146E #4C1DA2 #6527D6

Accessibility & contrast

On white

14.27
#34146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34146E
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34146E#FFFFFF#000000##FFFFFF
##34146E1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C70
Deuteranopia (green-blind)
#00296C
Tritanopia (blue-blind)
#202E41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34146e;
/* rgb */ color: rgb(52, 20, 110);
/* oklch */ color: oklch(30.4% 0.142 291.7);
Tailwind
colors: {
  custom: {
    50: '#735698',
    500: '#34146e',
    950: '#000000',
  },
}
SCSS
$custom: #34146e;
$custom-light: #735698;
$custom-dark: #000000;
JSON
{
  "hex": "#34146e",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 261.333,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3036,
    "c": 0.14188,
    "h": 291.7
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34146E

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

Preview Lab → · Contrast checker → · Palette generator →

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