#3A0E4F#3A0E4F

#3A0E4F is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.6% C 0.114 H 312.1°. Best body text is #FFFFFF at 15.49:1 contrast (WCAG AA passes).

Color values

HEX#3A0E4F
RGBrgb(58, 14, 79)
HSLhsl(281, 70%, 18%)
HSVhsv(281, 82%, 31%)
CMYKcmyk(26.6%, 82.3%, 0%, 69%)
CIE-LABlab(14.28, 32.82, -30.02)
CIE-LCHlch(14.28, 44.48, 317.56°)
OKLaboklab(27.57% 0.0766 -0.0849)
OKLCHoklch(27.57% 0.114 312.1)
XYZxyz(3.3130, 1.7782, 7.5643)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E4F #234F0E
analogous
#190E4F #3A0E4F #4F0E43
triadic
#3A0E4F #4F3A0E #0E4F3A
tetradic
#3A0E4F #4F190E #234F0E #0E434F
square
#3A0E4F #4F190E #234F0E #0E434F
split-complementary
#3A0E4F #434F0E #0E4F19
monochromatic
#13051A #14051B #3A0E4F #601783 #8620B7

Accessibility & contrast

On white

15.49
#3A0E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E4F
15.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E4F#FFFFFF#000000##FFFFFF
##3A0E4F1.0015.491.3615.49
#FFFFFF15.491.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002251
Deuteranopia (green-blind)
#05254E
Tritanopia (blue-blind)
#371D2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0e4f;
/* rgb */ color: rgb(58, 14, 79);
/* oklch */ color: oklch(27.6% 0.114 312.1);
Tailwind
colors: {
  custom: {
    50: '#735281',
    500: '#3a0e4f',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e4f;
$custom-light: #735281;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e4f",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 280.615,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27569,
    "c": 0.11436,
    "h": 312.1
  },
  "luminance": 0.01778
}

Semantic roles & 50–950 ramp

primary
#3A0E4F
secondary
#4C8A2F
accent
#ED3B74
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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