#34146F#34146F

#34146F is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.143 H 291.4°. Best body text is #FFFFFF at 14.23:1 contrast (WCAG AA passes).

Color values

HEX#34146F
RGBrgb(52, 20, 111)
HSLhsl(261, 69%, 26%)
HSVhsv(261, 82%, 44%)
CMYKcmyk(53.2%, 82%, 0%, 56.5%)
CIE-LABlab(17.36, 37.57, -46.37)
CIE-LCHlch(17.36, 59.67, 309.01°)
OKLaboklab(30.46% 0.0522 -0.1332)
OKLCHoklch(30.46% 0.143 291.4)
XYZxyz(4.5348, 2.3779, 15.2559)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34146F #4F6F14
analogous
#14216F #34146F #61146F
triadic
#34146F #6F3414 #146F34
tetradic
#34146F #6F1421 #4F6F14 #146F61
square
#34146F #6F1421 #4F6F14 #146F61
split-complementary
#34146F #6F6114 #216F14
monochromatic
#0C051A #1C0B3B #34146F #4C1DA3 #6527D7

Accessibility & contrast

On white

14.23
#34146F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#34146F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34146F
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34146F#FFFFFF#000000##FFFFFF
##34146F1.0014.231.4814.23
#FFFFFF14.231.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00296D
Tritanopia (blue-blind)
#202E41
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #34146f;
/* rgb */ color: rgb(52, 20, 111);
/* oklch */ color: oklch(30.5% 0.143 291.4);
Tailwind
colors: {
  custom: {
    50: '#735699',
    500: '#34146f',
    950: '#000000',
  },
}
SCSS
$custom: #34146f;
$custom-light: #735699;
$custom-dark: #000000;
JSON
{
  "hex": "#34146f",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 111
  },
  "hsl": {
    "h": 261.099,
    "s": 69.466,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30463,
    "c": 0.14307,
    "h": 291.4
  },
  "luminance": 0.02378
}

Semantic roles & 50–950 ramp

primary
#34146F
secondary
#7FA639
accent
#EC3CAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #34146F

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

Preview Lab → · Contrast checker → · Palette generator →

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