#3A0E4B#3A0E4B

#3A0E4B is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.2% C 0.110 H 314.6°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#3A0E4B
RGBrgb(58, 14, 75)
HSLhsl(283, 69%, 17%)
HSVhsv(283, 81%, 29%)
CMYKcmyk(22.7%, 81.3%, 0%, 70.6%)
CIE-LABlab(13.95, 31.86, -27.79)
CIE-LCHlch(13.95, 42.28, 318.91°)
OKLaboklab(27.24% 0.0773 -0.0784)
OKLCHoklch(27.24% 0.11 314.6)
XYZxyz(3.1717, 1.7217, 6.8205)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E4B #1F4B0E
analogous
#1C0E4B #3A0E4B #4B0E3D
triadic
#3A0E4B #4B3A0E #0E4B3A
tetradic
#3A0E4B #4B1C0E #1F4B0E #0E3D4B
square
#3A0E4B #4B1C0E #1F4B0E #0E3D4B
split-complementary
#3A0E4B #3D4B0E #0E4B1C
monochromatic
#14051A #14051A #3A0E4B #62187F #8A21B2

Accessibility & contrast

On white

15.62
#3A0E4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#3A0E4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0E4B
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E4B#FFFFFF#000000##FFFFFF
##3A0E4B1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214D
Deuteranopia (green-blind)
#0B254A
Tritanopia (blue-blind)
#381B2B
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0e4b;
/* rgb */ color: rgb(58, 14, 75);
/* oklch */ color: oklch(27.2% 0.110 314.6);
Tailwind
colors: {
  custom: {
    50: '#73527e',
    500: '#3a0e4b',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e4b;
$custom-light: #73527e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e4b",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 75
  },
  "hsl": {
    "h": 283.279,
    "s": 68.539,
    "l": 17.451
  },
  "oklch": {
    "l": 0.27237,
    "c": 0.11009,
    "h": 314.6
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#3A0E4B
secondary
#47862F
accent
#EB3C6D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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