#3A053C#3A053C

#3A053C is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.1% C 0.107 H 326.5°. Best body text is #FFFFFF at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#3A053C
RGBrgb(58, 5, 60)
HSLhsl(298, 85%, 13%)
HSVhsv(298, 92%, 24%)
CMYKcmyk(3.3%, 91.7%, 0%, 76.5%)
CIE-LABlab(11.51, 32.34, -21.16)
CIE-LCHlch(11.51, 38.65, 326.80°)
OKLaboklab(25.15% 0.0891 -0.0589)
OKLCHoklch(25.15% 0.107 326.5)
XYZxyz(2.6148, 1.3345, 4.3940)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A053C #073C05
analogous
#1E053C #3A053C #3C0522
triadic
#3A053C #3C3A05 #053C3A
tetradic
#3A053C #3C1E05 #073C05 #05223C
square
#3A053C #3C1E05 #073C05 #05223C
split-complementary
#3A053C #223C05 #053C1E
monochromatic
#1B021C #1B021C #3A053C #710A74 #A70EAD

Accessibility & contrast

On white

16.58
#3A053C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#3A053C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A053C
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A053C#FFFFFF#000000##FFFFFF
##3A053C1.0016.581.2716.58
#FFFFFF16.581.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A3D
Deuteranopia (green-blind)
#13213B
Tritanopia (blue-blind)
#3C0F21
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a053c;
/* rgb */ color: rgb(58, 5, 60);
/* oklch */ color: oklch(25.1% 0.107 326.5);
Tailwind
colors: {
  custom: {
    50: '#734d72',
    500: '#3a053c',
    950: '#000000',
  },
}
SCSS
$custom: #3a053c;
$custom-light: #734d72;
$custom-dark: #000000;
JSON
{
  "hex": "#3a053c",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 60
  },
  "hsl": {
    "h": 297.818,
    "s": 84.615,
    "l": 12.745
  },
  "oklch": {
    "l": 0.25145,
    "c": 0.10679,
    "h": 326.5
  },
  "luminance": 0.01334
}

Semantic roles & 50–950 ramp

primary
#3A053C
secondary
#237D20
accent
#FB2D34
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A053C

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

Preview Lab → · Contrast checker → · Palette generator →

#3A053C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva