#3A053F#3A053F

#3A053F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.4% C 0.109 H 324.2°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#3A053F
RGBrgb(58, 5, 63)
HSLhsl(295, 85%, 13%)
HSVhsv(295, 92%, 25%)
CMYKcmyk(7.9%, 92.1%, 0%, 75.3%)
CIE-LABlab(11.74, 32.94, -22.94)
CIE-LCHlch(11.74, 40.14, 325.14°)
OKLaboklab(25.37% 0.0888 -0.0641)
OKLCHoklch(25.37% 0.109 324.2)
XYZxyz(2.6963, 1.3671, 4.8235)
Luminance0.0137 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A053F #0A3F05
analogous
#1D053F #3A053F #3F0527
triadic
#3A053F #3F3A05 #053F3A
tetradic
#3A053F #3F1D05 #0A3F05 #05273F
square
#3A053F #3F1D05 #0A3F05 #05273F
split-complementary
#3A053F #273F05 #053F1D
monochromatic
#1A021C #1A021C #3A053F #6E0978 #A20EB0

Accessibility & contrast

On white

16.49
#3A053F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A053F
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A053F#FFFFFF#000000##FFFFFF
##3A053F1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#11213E
Tritanopia (blue-blind)
#3B1122
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #3a053f;
/* rgb */ color: rgb(58, 5, 63);
/* oklch */ color: oklch(25.4% 0.109 324.2);
Tailwind
colors: {
  custom: {
    50: '#734d74',
    500: '#3a053f',
    950: '#000000',
  },
}
SCSS
$custom: #3a053f;
$custom-light: #734d74;
$custom-dark: #000000;
JSON
{
  "hex": "#3a053f",
  "rgb": {
    "r": 58,
    "g": 5,
    "b": 63
  },
  "hsl": {
    "h": 294.828,
    "s": 85.294,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25373,
    "c": 0.10948,
    "h": 324.2
  },
  "luminance": 0.01367
}

Semantic roles & 50–950 ramp

primary
#3A053F
secondary
#288020
accent
#FC2C3E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3A053F

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

Preview Lab → · Contrast checker → · Palette generator →

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