#3A153D#3A153D

#3A153D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.1% C 0.084 H 324.6°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#3A153D
RGBrgb(58, 21, 61)
HSLhsl(296, 49%, 16%)
HSVhsv(296, 66%, 24%)
CMYKcmyk(4.9%, 65.6%, 0%, 76.1%)
CIE-LABlab(14.25, 25.06, -17.54)
CIE-LCHlch(14.25, 30.58, 325.01°)
OKLaboklab(27.13% 0.0682 -0.0485)
OKLCHoklch(27.13% 0.084 324.6)
XYZxyz(2.8553, 1.7729, 4.6058)
Luminance0.0177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A153D #183D15
analogous
#26153D #3A153D #3D152C
triadic
#3A153D #3D3A15 #153D3A
tetradic
#3A153D #3D2615 #183D15 #152C3D
square
#3A153D #3D2615 #183D15 #152C3D
split-complementary
#3A153D #2C3D15 #153D26
monochromatic
#160817 #160817 #3A153D #65256B #913498

Accessibility & contrast

On white

15.50
#3A153D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3A153D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A153D
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A153D#FFFFFF#000000##FFFFFF
##3A153D1.0015.501.3515.50
#FFFFFF15.501.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F213E
Deuteranopia (green-blind)
#1C263C
Tritanopia (blue-blind)
#3B1A26
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a153d;
/* rgb */ color: rgb(58, 21, 61);
/* oklch */ color: oklch(27.1% 0.084 324.6);
Tailwind
colors: {
  custom: {
    50: '#725572',
    500: '#3a153d',
    950: '#000000',
  },
}
SCSS
$custom: #3a153d;
$custom-light: #725572;
$custom-dark: #000000;
JSON
{
  "hex": "#3a153d",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 61
  },
  "hsl": {
    "h": 295.5,
    "s": 48.78,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27133,
    "c": 0.08373,
    "h": 324.6
  },
  "luminance": 0.01773
}

Semantic roles & 50–950 ramp

primary
#3A153D
secondary
#3E7539
accent
#D84F5A
background
#F7F5F6
surface
#EDE9EC
border
#C8C5C7
text
#080308
muted
#7B787B

Preview Lab

Preview with #3A153D

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

Preview Lab → · Contrast checker → · Palette generator →

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