#341145#341145

#341145 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.097 H 312.6°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#341145
RGBrgb(52, 17, 69)
HSLhsl(280, 60%, 17%)
HSVhsv(280, 75%, 27%)
CMYKcmyk(24.6%, 75.4%, 0%, 72.9%)
CIE-LABlab(12.99, 27.43, -25.22)
CIE-LCHlch(12.99, 37.27, 317.40°)
OKLaboklab(26.19% 0.0653 -0.0711)
OKLCHoklch(26.19% 0.097 312.6)
XYZxyz(2.6906, 1.5607, 5.7886)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341145 #224511
analogous
#1A1145 #341145 #45113C
triadic
#341145 #453411 #114534
tetradic
#341145 #451A11 #224511 #113C45
square
#341145 #451A11 #224511 #113C45
split-complementary
#341145 #3C4511 #11451A
monochromatic
#130619 #130619 #341145 #591D76 #7E29A7

Accessibility & contrast

On white

16.00
#341145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#341145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341145
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341145#FFFFFF#000000##FFFFFF
##3411451.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#0D2244
Tritanopia (blue-blind)
#321C29
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #341145;
/* rgb */ color: rgb(52, 17, 69);
/* oklch */ color: oklch(26.2% 0.097 312.6);
Tailwind
colors: {
  custom: {
    50: '#6e5279',
    500: '#341145',
    950: '#000000',
  },
}
SCSS
$custom: #341145;
$custom-light: #6e5279;
$custom-dark: #000000;
JSON
{
  "hex": "#341145",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 69
  },
  "hsl": {
    "h": 280.385,
    "s": 60.465,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2619,
    "c": 0.09656,
    "h": 312.6
  },
  "luminance": 0.01561
}

Semantic roles & 50–950 ramp

primary
#341145
secondary
#4C7F33
accent
#E44478
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #341145

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

Preview Lab → · Contrast checker → · Palette generator →

#341145 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva