#3A0E50#3A0E50

#3A0E50 is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.115 H 311.4°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#3A0E50
RGBrgb(58, 14, 80)
HSLhsl(280, 70%, 18%)
HSVhsv(280, 83%, 31%)
CMYKcmyk(27.5%, 82.5%, 0%, 68.6%)
CIE-LABlab(14.36, 33.07, -30.57)
CIE-LCHlch(14.36, 45.03, 317.25°)
OKLaboklab(27.65% 0.0764 -0.0865)
OKLCHoklch(27.65% 0.115 311.4)
XYZxyz(3.3497, 1.7929, 7.7575)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0E50 #24500E
analogous
#190E50 #3A0E50 #500E45
triadic
#3A0E50 #503A0E #0E503A
tetradic
#3A0E50 #50190E #24500E #0E4550
square
#3A0E50 #50190E #24500E #0E4550
split-complementary
#3A0E50 #45500E #0E5019
monochromatic
#13051A #14051C #3A0E50 #601784 #8620B8

Accessibility & contrast

On white

15.46
#3A0E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0E50
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0E50#FFFFFF#000000##FFFFFF
##3A0E501.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002252
Deuteranopia (green-blind)
#03254F
Tritanopia (blue-blind)
#371D2E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0e50;
/* rgb */ color: rgb(58, 14, 80);
/* oklch */ color: oklch(27.7% 0.115 311.4);
Tailwind
colors: {
  custom: {
    50: '#735282',
    500: '#3a0e50',
    950: '#000000',
  },
}
SCSS
$custom: #3a0e50;
$custom-light: #735282;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0e50",
  "rgb": {
    "r": 58,
    "g": 14,
    "b": 80
  },
  "hsl": {
    "h": 280,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27654,
    "c": 0.11545,
    "h": 311.4
  },
  "luminance": 0.01793
}

Semantic roles & 50–950 ramp

primary
#3A0E50
secondary
#4E8B2F
accent
#ED3B76
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020A
muted
#7B787C

Preview Lab

Preview with #3A0E50

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

Preview Lab → · Contrast checker → · Palette generator →

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