#34084B#34084B

#34084B is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.7% C 0.115 H 310.2°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#34084B
RGBrgb(52, 8, 75)
HSLhsl(279, 81%, 16%)
HSVhsv(279, 89%, 29%)
CMYKcmyk(30.7%, 89.3%, 0%, 70.6%)
CIE-LABlab(12.04, 33.08, -30.94)
CIE-LCHlch(12.04, 45.29, 316.91°)
OKLaboklab(25.67% 0.0742 -0.0878)
OKLCHoklch(25.67% 0.115 310.2)
XYZxyz(2.7728, 1.4118, 6.7817)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34084B #1F4B08
analogous
#13084B #34084B #4B0841
triadic
#34084B #4B3408 #084B34
tetradic
#34084B #4B1308 #1F4B08 #08414B
square
#34084B #4B1308 #1F4B08 #08414B
split-complementary
#34084B #414B08 #084B13
monochromatic
#13031C #13031C #34084B #5A0E82 #8114BA

Accessibility & contrast

On white

16.38
#34084B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#34084B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34084B
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34084B#FFFFFF#000000##FFFFFF
##34084B1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34084b;
/* rgb */ color: rgb(52, 8, 75);
/* oklch */ color: oklch(25.7% 0.115 310.2);
Tailwind
colors: {
  custom: {
    50: '#6f4e7e',
    500: '#34084b',
    950: '#000000',
  },
}
SCSS
$custom: #34084b;
$custom-light: #6f4e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#34084b",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 75
  },
  "hsl": {
    "h": 279.403,
    "s": 80.723,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25674,
    "c": 0.115,
    "h": 310.2
  },
  "luminance": 0.01412
}

Semantic roles & 50–950 ramp

primary
#34084B
secondary
#488926
accent
#F73175
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #34084B

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

Preview Lab → · Contrast checker → · Palette generator →

#34084B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva