#34094A#34094A

#34094A is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.113 H 310.7°. Best body text is #FFFFFF at 16.36:1 contrast (WCAG AA passes).

Color values

HEX#34094A
RGBrgb(52, 9, 74)
HSLhsl(280, 78%, 16%)
HSVhsv(280, 88%, 29%)
CMYKcmyk(29.7%, 87.8%, 0%, 71%)
CIE-LABlab(12.09, 32.42, -30.16)
CIE-LCHlch(12.09, 44.28, 317.07°)
OKLaboklab(25.68% 0.0735 -0.0855)
OKLCHoklch(25.68% 0.113 310.7)
XYZxyz(2.7497, 1.4199, 6.6065)
Luminance0.0142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34094A #1F4A09
analogous
#14094A #34094A #4A0940
triadic
#34094A #4A3409 #094A34
tetradic
#34094A #4A1409 #1F4A09 #09404A
square
#34094A #4A1409 #1F4A09 #09404A
split-complementary
#34094A #404A09 #094A14
monochromatic
#13031B #13031B #34094A #5A1081 #8116B7

Accessibility & contrast

On white

16.36
#34094A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#34094A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34094A
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34094A#FFFFFF#000000##FFFFFF
##34094A1.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#002049
Tritanopia (blue-blind)
#31192A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #34094a;
/* rgb */ color: rgb(52, 9, 74);
/* oklch */ color: oklch(25.7% 0.113 310.7);
Tailwind
colors: {
  custom: {
    50: '#6f4e7d',
    500: '#34094a',
    950: '#000000',
  },
}
SCSS
$custom: #34094a;
$custom-light: #6f4e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#34094a",
  "rgb": {
    "r": 52,
    "g": 9,
    "b": 74
  },
  "hsl": {
    "h": 279.692,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25683,
    "c": 0.11279,
    "h": 310.7
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#34094A
secondary
#488727
accent
#F53375
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #34094A

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

Preview Lab → · Contrast checker → · Palette generator →

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