#34296A#34296A

#34296A is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.2% C 0.109 H 286.7°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#34296A
RGBrgb(52, 41, 106)
HSLhsl(250, 44%, 29%)
HSVhsv(250, 61%, 42%)
CMYKcmyk(50.9%, 61.3%, 0%, 58.4%)
CIE-LABlab(21.42, 23.66, -36.50)
CIE-LCHlch(21.42, 43.49, 302.95°)
OKLaboklab(33.24% 0.0312 -0.1043)
OKLCHoklch(33.24% 0.109 286.7)
XYZxyz(4.8099, 3.3563, 14.0273)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34296A #5F6A29
analogous
#293F6A #34296A #55296A
triadic
#34296A #6A3429 #296A34
tetradic
#34296A #6A293F #5F6A29 #296A55
square
#34296A #6A293F #5F6A29 #296A55
split-complementary
#34296A #6A5529 #3F6A29
monochromatic
#0B0916 #1E183E #34296A #4A3A96 #6452BC

Accessibility & contrast

On white

12.56
#34296A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#34296A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34296A
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34296A#FFFFFF#000000##FFFFFF
##34296A1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#223845
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #34296a;
/* rgb */ color: rgb(52, 41, 106);
/* oklch */ color: oklch(33.2% 0.109 286.7);
Tailwind
colors: {
  custom: {
    50: '#706395',
    500: '#34296a',
    950: '#000000',
  },
}
SCSS
$custom: #34296a;
$custom-light: #706395;
$custom-dark: #000000;
JSON
{
  "hex": "#34296a",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 106
  },
  "hsl": {
    "h": 250.154,
    "s": 44.218,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.10885,
    "h": 286.7
  },
  "luminance": 0.03357
}

Semantic roles & 50–950 ramp

primary
#34296A
secondary
#909C52
accent
#D454BE
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #34296A

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

Preview Lab → · Contrast checker → · Palette generator →

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