#34246A#34246A

#34246A is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.3% C 0.116 H 288.7°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#34246A
RGBrgb(52, 36, 106)
HSLhsl(254, 49%, 28%)
HSVhsv(254, 66%, 42%)
CMYKcmyk(50.9%, 66%, 0%, 58.4%)
CIE-LABlab(20.17, 26.93, -38.51)
CIE-LCHlch(20.17, 46.99, 304.96°)
OKLaboklab(32.33% 0.0373 -0.1102)
OKLCHoklch(32.33% 0.116 288.7)
XYZxyz(4.6478, 3.0322, 13.9733)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34246A #5A6A24
analogous
#24376A #34246A #57246A
triadic
#34246A #6A3424 #246A34
tetradic
#34246A #6A2437 #5A6A24 #246A57
square
#34246A #6A2437 #5A6A24 #246A57
split-complementary
#34246A #6A5724 #376A24
monochromatic
#0B0817 #1E143C #34246A #4A3498 #6348C1

Accessibility & contrast

On white

13.07
#34246A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#34246A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34246A
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34246A#FFFFFF#000000##FFFFFF
##34246A1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00326C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#223543
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #34246a;
/* rgb */ color: rgb(52, 36, 106);
/* oklch */ color: oklch(32.3% 0.116 288.7);
Tailwind
colors: {
  custom: {
    50: '#715f95',
    500: '#34246a',
    950: '#000000',
  },
}
SCSS
$custom: #34246a;
$custom-light: #715f95;
$custom-dark: #000000;
JSON
{
  "hex": "#34246a",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 106
  },
  "hsl": {
    "h": 253.714,
    "s": 49.296,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32327,
    "c": 0.11636,
    "h": 288.7
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#34246A
secondary
#8B9D4D
accent
#D94FB9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08050D
muted
#7B797E

Preview Lab

Preview with #34246A

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

Preview Lab → · Contrast checker → · Palette generator →

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