#3A153E#3A153E

#3A153E is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.2% C 0.085 H 323.7°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).

Color values

HEX#3A153E
RGBrgb(58, 21, 62)
HSLhsl(294, 49%, 16%)
HSVhsv(294, 66%, 24%)
CMYKcmyk(6.5%, 66.1%, 0%, 75.7%)
CIE-LABlab(14.31, 25.28, -18.14)
CIE-LCHlch(14.31, 31.12, 324.33°)
OKLaboklab(27.2% 0.0683 -0.0503)
OKLCHoklch(27.2% 0.085 323.7)
XYZxyz(2.8825, 1.7838, 4.7490)
Luminance0.0178 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A153E #193E15
analogous
#26153E #3A153E #3E152E
triadic
#3A153E #3E3A15 #153E3A
tetradic
#3A153E #3E2615 #193E15 #152E3E
square
#3A153E #3E2615 #193E15 #152E3E
split-complementary
#3A153E #2E3E15 #153E26
monochromatic
#150817 #150817 #3A153E #65246C #903499

Accessibility & contrast

On white

15.48
#3A153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3A153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A153E
15.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A153E#FFFFFF#000000##FFFFFF
##3A153E1.0015.481.3615.48
#FFFFFF15.481.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213F
Deuteranopia (green-blind)
#1B263D
Tritanopia (blue-blind)
#3B1B27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a153e;
/* rgb */ color: rgb(58, 21, 62);
/* oklch */ color: oklch(27.2% 0.085 323.7);
Tailwind
colors: {
  custom: {
    50: '#725573',
    500: '#3a153e',
    950: '#000000',
  },
}
SCSS
$custom: #3a153e;
$custom-light: #725573;
$custom-dark: #000000;
JSON
{
  "hex": "#3a153e",
  "rgb": {
    "r": 58,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 294.146,
    "s": 49.398,
    "l": 16.275
  },
  "oklch": {
    "l": 0.27198,
    "c": 0.08484,
    "h": 323.7
  },
  "luminance": 0.01784
}

Semantic roles & 50–950 ramp

primary
#3A153E
secondary
#3F7639
accent
#D94F5C
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3A153E

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

Preview Lab → · Contrast checker → · Palette generator →

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