#34205C#34205C

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

Color values

HEX#34205C
RGBrgb(52, 32, 92)
HSLhsl(260, 48%, 24%)
HSVhsv(260, 65%, 36%)
CMYKcmyk(43.5%, 65.2%, 0%, 63.9%)
CIE-LABlab(18.08, 25.03, -32.69)
CIE-LCHlch(18.08, 41.17, 307.44°)
OKLaboklab(30.44% 0.0433 -0.0931)
OKLCHoklch(30.44% 0.103 294.9)
XYZxyz(3.8639, 2.5357, 10.4090)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34205C #485C20
analogous
#202A5C #34205C #52205C
triadic
#34205C #5C3420 #205C34
tetradic
#34205C #5C202A #485C20 #205C52
square
#34205C #5C202A #485C20 #205C52
split-complementary
#34205C #5C5220 #2A5C20
monochromatic
#0D0817 #1A102F #34205C #4E3089 #6740B7

Accessibility & contrast

On white

13.93
#34205C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#34205C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34205C
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34205C#FFFFFF#000000##FFFFFF
##34205C1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D5E
Deuteranopia (green-blind)
#022B5B
Tritanopia (blue-blind)
#2A2D3A
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #34205c;
/* rgb */ color: rgb(52, 32, 92);
/* oklch */ color: oklch(30.4% 0.103 294.9);
Tailwind
colors: {
  custom: {
    50: '#6f5c8b',
    500: '#34205c',
    950: '#000000',
  },
}
SCSS
$custom: #34205c;
$custom-light: #6f5c8b;
$custom-dark: #000000;
JSON
{
  "hex": "#34205c",
  "rgb": {
    "r": 52,
    "g": 32,
    "b": 92
  },
  "hsl": {
    "h": 260,
    "s": 48.387,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30444,
    "c": 0.10268,
    "h": 294.9
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#34205C
secondary
#789047
accent
#D850AB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07040C
muted
#7A797D

Preview Lab

Preview with #34205C

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

Preview Lab → · Contrast checker → · Palette generator →

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