#34296B#34296B

#34296B is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.3% C 0.110 H 286.4°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#34296B
RGBrgb(52, 41, 107)
HSLhsl(250, 45%, 29%)
HSVhsv(250, 62%, 42%)
CMYKcmyk(51.4%, 61.7%, 0%, 58%)
CIE-LABlab(21.50, 23.99, -37.02)
CIE-LCHlch(21.50, 44.11, 302.95°)
OKLaboklab(33.32% 0.0312 -0.1058)
OKLCHoklch(33.32% 0.11 286.4)
XYZxyz(4.8622, 3.3773, 14.3027)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34296B #606B29
analogous
#293F6B #34296B #55296B
triadic
#34296B #6B3429 #296B34
tetradic
#34296B #6B293F #606B29 #296B55
square
#34296B #6B293F #606B29 #296B55
split-complementary
#34296B #6B5529 #3F6B29
monochromatic
#0B0816 #1E183F #34296B #4A3A97 #6452BD

Accessibility & contrast

On white

12.53
#34296B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#34296B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34296B
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34296B#FFFFFF#000000##FFFFFF
##34296B1.0012.531.6812.53
#FFFFFF12.531.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#00326A
Tritanopia (blue-blind)
#213845
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #34296b;
/* rgb */ color: rgb(52, 41, 107);
/* oklch */ color: oklch(33.3% 0.110 286.4);
Tailwind
colors: {
  custom: {
    50: '#706396',
    500: '#34296b',
    950: '#000000',
  },
}
SCSS
$custom: #34296b;
$custom-light: #706396;
$custom-dark: #000000;
JSON
{
  "hex": "#34296b",
  "rgb": {
    "r": 52,
    "g": 41,
    "b": 107
  },
  "hsl": {
    "h": 250,
    "s": 44.595,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3332,
    "c": 0.11032,
    "h": 286.4
  },
  "luminance": 0.03377
}

Semantic roles & 50–950 ramp

primary
#34296B
secondary
#919D52
accent
#D453BF
background
#F7F5F9
surface
#EDEAF2
border
#C8C6CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #34296B

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

Preview Lab → · Contrast checker → · Palette generator →

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