#341245#341245

#341245 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.3% C 0.095 H 312.4°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#341245
RGBrgb(52, 18, 69)
HSLhsl(280, 59%, 17%)
HSVhsv(280, 74%, 27%)
CMYKcmyk(24.6%, 73.9%, 0%, 72.9%)
CIE-LABlab(13.18, 26.89, -24.91)
CIE-LCHlch(13.18, 36.66, 317.19°)
OKLaboklab(26.33% 0.064 -0.0702)
OKLCHoklch(26.33% 0.095 312.4)
XYZxyz(2.7065, 1.5924, 5.7939)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341245 #234512
analogous
#1B1245 #341245 #45123D
triadic
#341245 #453412 #124534
tetradic
#341245 #451B12 #234512 #123D45
square
#341245 #451B12 #234512 #123D45
split-complementary
#341245 #3D4512 #12451B
monochromatic
#120618 #120618 #341245 #591F76 #7D2BA6

Accessibility & contrast

On white

15.93
#341245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#341245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341245
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341245#FFFFFF#000000##FFFFFF
##3412451.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341245;
/* rgb */ color: rgb(52, 18, 69);
/* oklch */ color: oklch(26.3% 0.095 312.4);
Tailwind
colors: {
  custom: {
    50: '#6e5379',
    500: '#341245',
    950: '#000000',
  },
}
SCSS
$custom: #341245;
$custom-light: #6e5379;
$custom-dark: #000000;
JSON
{
  "hex": "#341245",
  "rgb": {
    "r": 52,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 280,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.2633,
    "c": 0.09498,
    "h": 312.4
  },
  "luminance": 0.01592
}

Semantic roles & 50–950 ramp

primary
#341245
secondary
#4D7E35
accent
#E2467A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #341245

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

Preview Lab → · Contrast checker → · Palette generator →

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