#34104F#34104F

#34104F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.9% C 0.110 H 306.3°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#34104F
RGBrgb(52, 16, 79)
HSLhsl(274, 66%, 19%)
HSVhsv(274, 80%, 31%)
CMYKcmyk(34.2%, 79.7%, 0%, 69%)
CIE-LABlab(13.62, 30.55, -31.12)
CIE-LCHlch(13.62, 43.61, 314.47°)
OKLaboklab(26.9% 0.0651 -0.0884)
OKLCHoklch(26.9% 0.11 306.3)
XYZxyz(3.0124, 1.6652, 7.5583)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34104F #2B4F10
analogous
#14104F #34104F #4F104A
triadic
#34104F #4F3410 #104F34
tetradic
#34104F #4F1410 #2B4F10 #104A4F
square
#34104F #4F1410 #2B4F10 #104A4F
split-complementary
#34104F #4A4F10 #104F14
monochromatic
#110519 #12061C #34104F #551A82 #7725B5

Accessibility & contrast

On white

15.75
#34104F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#34104F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34104F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34104F#FFFFFF#000000##FFFFFF
##34104F1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#2F1F2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #34104f;
/* rgb */ color: rgb(52, 16, 79);
/* oklch */ color: oklch(26.9% 0.110 306.3);
Tailwind
colors: {
  custom: {
    50: '#6f5281',
    500: '#34104f',
    950: '#000000',
  },
}
SCSS
$custom: #34104f;
$custom-light: #6f5281;
$custom-dark: #000000;
JSON
{
  "hex": "#34104f",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 79
  },
  "hsl": {
    "h": 274.286,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.269,
    "c": 0.10979,
    "h": 306.3
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#34104F
secondary
#578932
accent
#E93F88
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #34104F

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

Preview Lab → · Contrast checker → · Palette generator →

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