#34145C#34145C

#34145C is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.120 H 298.7°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#34145C
RGBrgb(52, 20, 92)
HSLhsl(267, 64%, 22%)
HSVhsv(267, 78%, 36%)
CMYKcmyk(43.5%, 78.3%, 0%, 63.9%)
CIE-LABlab(15.50, 32.09, -36.87)
CIE-LCHlch(15.50, 48.88, 311.03°)
OKLaboklab(28.59% 0.0577 -0.1054)
OKLCHoklch(28.59% 0.12 298.7)
XYZxyz(3.5976, 2.0030, 10.3202)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34145C #3C5C14
analogous
#14185C #34145C #58145C
triadic
#34145C #5C3414 #145C34
tetradic
#34145C #5C1418 #3C5C14 #145C58
square
#34145C #5C1418 #3C5C14 #145C58
split-complementary
#34145C #5C5814 #185C14
monochromatic
#0E0519 #18092A #34145C #501F8E #6D2AC1

Accessibility & contrast

On white

14.99
#34145C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#34145C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34145C
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34145C#FFFFFF#000000##FFFFFF
##34145C1.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2A2636
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #34145c;
/* rgb */ color: rgb(52, 20, 92);
/* oklch */ color: oklch(28.6% 0.120 298.7);
Tailwind
colors: {
  custom: {
    50: '#70558b',
    500: '#34145c',
    950: '#000000',
  },
}
SCSS
$custom: #34145c;
$custom-light: #70558b;
$custom-dark: #000000;
JSON
{
  "hex": "#34145c",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 92
  },
  "hsl": {
    "h": 266.667,
    "s": 64.286,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28593,
    "c": 0.12014,
    "h": 298.7
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#34145C
secondary
#6B9438
accent
#E7419D
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34145C

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

Preview Lab → · Contrast checker → · Palette generator →

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