#34205B#34205B

#34205B is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.101 H 295.3°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#34205B
RGBrgb(52, 32, 91)
HSLhsl(260, 48%, 24%)
HSVhsv(260, 65%, 36%)
CMYKcmyk(42.9%, 64.8%, 0%, 64.3%)
CIE-LABlab(18.00, 24.72, -32.15)
CIE-LCHlch(18.00, 40.56, 307.55°)
OKLaboklab(30.36% 0.0433 -0.0915)
OKLCHoklch(30.36% 0.101 295.3)
XYZxyz(3.8205, 2.5183, 10.1803)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34205B #475B20
analogous
#202A5B #34205B #52205B
triadic
#34205B #5B3420 #205B34
tetradic
#34205B #5B202A #475B20 #205B52
square
#34205B #5B202A #475B20 #205B52
split-complementary
#34205B #5B5220 #2A5B20
monochromatic
#0D0817 #1A102E #34205B #4E3088 #6840B6

Accessibility & contrast

On white

13.97
#34205B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#34205B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34205B
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34205B#FFFFFF#000000##FFFFFF
##34205B1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#042B5A
Tritanopia (blue-blind)
#2A2D3A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #34205b;
/* rgb */ color: rgb(52, 32, 91);
/* oklch */ color: oklch(30.4% 0.101 295.3);
Tailwind
colors: {
  custom: {
    50: '#6f5c8a',
    500: '#34205b',
    950: '#000000',
  },
}
SCSS
$custom: #34205b;
$custom-light: #6f5c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#34205b",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 91
  },
  "hsl": {
    "h": 260.339,
    "s": 47.967,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30363,
    "c": 0.10126,
    "h": 295.3
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#34205B
secondary
#778F47
accent
#D850AA
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #34205B

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

Preview Lab → · Contrast checker → · Palette generator →

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