#341045#341045

#341045 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.1% C 0.098 H 312.8°. Best body text is #FFFFFF at 16.08:1 contrast (WCAG AA passes).

Color values

HEX#341045
RGBrgb(52, 16, 69)
HSLhsl(281, 62%, 17%)
HSVhsv(281, 77%, 27%)
CMYKcmyk(24.6%, 76.8%, 0%, 72.9%)
CIE-LABlab(12.80, 27.96, -25.53)
CIE-LCHlch(12.80, 37.86, 317.61°)
OKLaboklab(26.06% 0.0666 -0.072)
OKLCHoklch(26.06% 0.098 312.8)
XYZxyz(2.6755, 1.5304, 5.7835)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341045 #214510
analogous
#1A1045 #341045 #45103C
triadic
#341045 #453410 #104534
tetradic
#341045 #451A10 #214510 #103C45
square
#341045 #451A10 #214510 #103C45
split-complementary
#341045 #3C4510 #10451A
monochromatic
#130619 #130619 #341045 #591C77 #7F27A8

Accessibility & contrast

On white

16.08
#341045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341045
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341045#FFFFFF#000000##FFFFFF
##3410451.0016.081.3116.08
#FFFFFF16.081.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F47
Deuteranopia (green-blind)
#0B2244
Tritanopia (blue-blind)
#321B29
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #341045;
/* rgb */ color: rgb(52, 16, 69);
/* oklch */ color: oklch(26.1% 0.098 312.8);
Tailwind
colors: {
  custom: {
    50: '#6e5179',
    500: '#341045',
    950: '#000000',
  },
}
SCSS
$custom: #341045;
$custom-light: #6e5179;
$custom-dark: #000000;
JSON
{
  "hex": "#341045",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 280.755,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.26055,
    "c": 0.0981,
    "h": 312.8
  },
  "luminance": 0.0153
}

Semantic roles & 50–950 ramp

primary
#341045
secondary
#4B7F32
accent
#E54277
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #341045

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

Preview Lab → · Contrast checker → · Palette generator →

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