#341452#341452

#341452 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.108 H 303.7°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#341452
RGBrgb(52, 20, 82)
HSLhsl(271, 61%, 20%)
HSVhsv(271, 76%, 32%)
CMYKcmyk(36.6%, 75.6%, 0%, 67.8%)
CIE-LABlab(14.62, 29.27, -31.55)
CIE-LCHlch(14.62, 43.04, 312.85°)
OKLaboklab(27.69% 0.0598 -0.0897)
OKLCHoklch(27.69% 0.108 303.7)
XYZxyz(3.1890, 1.8396, 8.1681)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341452 #325214
analogous
#151452 #341452 #521451
triadic
#341452 #523414 #145234
tetradic
#341452 #521514 #325214 #145152
square
#341452 #521514 #325214 #145152
split-complementary
#341452 #515214 #145215
monochromatic
#100619 #150821 #341452 #532083 #722CB4

Accessibility & contrast

On white

15.35
#341452 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#341452 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341452
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341452#FFFFFF#000000##FFFFFF
##3414521.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002454
Deuteranopia (green-blind)
#002551
Tritanopia (blue-blind)
#2E2231
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341452;
/* rgb */ color: rgb(52, 20, 82);
/* oklch */ color: oklch(27.7% 0.108 303.7);
Tailwind
colors: {
  custom: {
    50: '#6f5483',
    500: '#341452',
    950: '#000000',
  },
}
SCSS
$custom: #341452;
$custom-light: #6f5483;
$custom-dark: #000000;
JSON
{
  "hex": "#341452",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 82
  },
  "hsl": {
    "h": 270.968,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.27691,
    "c": 0.10782,
    "h": 303.7
  },
  "luminance": 0.0184
}

Semantic roles & 50–950 ramp

primary
#341452
secondary
#608A38
accent
#E44491
background
#F6F5F8
surface
#ECE8EF
border
#C7C4CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #341452

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

Preview Lab → · Contrast checker → · Palette generator →

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