#34145A#34145A

#34145A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.118 H 299.6°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#34145A
RGBrgb(52, 20, 90)
HSLhsl(267, 64%, 22%)
HSVhsv(267, 78%, 35%)
CMYKcmyk(42.2%, 77.8%, 0%, 64.7%)
CIE-LABlab(15.32, 31.52, -35.83)
CIE-LCHlch(15.32, 47.72, 311.34°)
OKLaboklab(28.41% 0.0582 -0.1023)
OKLCHoklch(28.41% 0.118 299.6)
XYZxyz(3.5113, 1.9685, 9.8658)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34145A #3A5A14
analogous
#14175A #34145A #57145A
triadic
#34145A #5A3414 #145A34
tetradic
#34145A #5A1417 #3A5A14 #145A57
square
#34145A #5A1417 #3A5A14 #145A57
split-complementary
#34145A #5A5714 #175A14
monochromatic
#0E0619 #170928 #34145A #511F8C #6E2ABE

Accessibility & contrast

On white

15.07
#34145A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#34145A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34145A
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34145A#FFFFFF#000000##FFFFFF
##34145A1.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#2B2535
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #34145a;
/* rgb */ color: rgb(52, 20, 90);
/* oklch */ color: oklch(28.4% 0.118 299.6);
Tailwind
colors: {
  custom: {
    50: '#705589',
    500: '#34145a',
    950: '#000000',
  },
}
SCSS
$custom: #34145a;
$custom-light: #705589;
$custom-dark: #000000;
JSON
{
  "hex": "#34145a",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 90
  },
  "hsl": {
    "h": 267.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.11769,
    "h": 299.6
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#34145A
secondary
#699238
accent
#E7419B
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34145A

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

Preview Lab → · Contrast checker → · Palette generator →

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