#34146C#34146C

#34146C is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.140 H 292.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#34146C
RGBrgb(52, 20, 108)
HSLhsl(262, 69%, 25%)
HSVhsv(262, 81%, 42%)
CMYKcmyk(51.9%, 81.5%, 0%, 57.6%)
CIE-LABlab(17.05, 36.70, -44.92)
CIE-LCHlch(17.05, 58.00, 309.25°)
OKLaboklab(30.16% 0.0532 -0.129)
OKLCHoklch(30.16% 0.14 292.4)
XYZxyz(4.3723, 2.3129, 14.4005)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34146C #4C6C14
analogous
#14206C #34146C #60146C
triadic
#34146C #6C3414 #146C34
tetradic
#34146C #6C1420 #4C6C14 #146C60
square
#34146C #6C1420 #4C6C14 #146C60
split-complementary
#34146C #6C6014 #206C14
monochromatic
#0C051A #1B0A38 #34146C #4D1EA0 #6627D3

Accessibility & contrast

On white

14.36
#34146C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34146C
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34146C#FFFFFF#000000##FFFFFF
##34146C1.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6E
Deuteranopia (green-blind)
#00286A
Tritanopia (blue-blind)
#222D40
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34146c;
/* rgb */ color: rgb(52, 20, 108);
/* oklch */ color: oklch(30.2% 0.140 292.4);
Tailwind
colors: {
  custom: {
    50: '#725697',
    500: '#34146c',
    950: '#000000',
  },
}
SCSS
$custom: #34146c;
$custom-light: #725697;
$custom-dark: #000000;
JSON
{
  "hex": "#34146c",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 108
  },
  "hsl": {
    "h": 261.818,
    "s": 68.75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30156,
    "c": 0.1395,
    "h": 292.4
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#34146C
secondary
#7CA339
accent
#EC3CAC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #34146C

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

Preview Lab → · Contrast checker → · Palette generator →

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