#3A0F49#3A0F49

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

Color values

HEX#3A0F49
RGBrgb(58, 15, 73)
HSLhsl(284, 66%, 17%)
HSVhsv(284, 79%, 29%)
CMYKcmyk(20.5%, 79.5%, 0%, 71.4%)
CIE-LABlab(13.96, 30.94, -26.40)
CIE-LCHlch(13.96, 40.67, 319.53°)
OKLaboklab(27.19% 0.0764 -0.0743)
OKLCHoklch(27.19% 0.107 315.8)
XYZxyz(3.1182, 1.7223, 6.4702)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F49 #1E490F
analogous
#1D0F49 #3A0F49 #490F3B
triadic
#3A0F49 #493A0F #0F493A
tetradic
#3A0F49 #491D0F #1E490F #0F3B49
square
#3A0F49 #491D0F #1E490F #0F3B49
split-complementary
#3A0F49 #3B490F #0F491D
monochromatic
#140519 #140519 #3A0F49 #62197C #8B24AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A0F49#FFFFFF#000000##FFFFFF
##3A0F491.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)
#00214B
Deuteranopia (green-blind)
#0E2548
Tritanopia (blue-blind)
#391B2B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3a0f49;
/* rgb */ color: rgb(58, 15, 73);
/* oklch */ color: oklch(27.2% 0.107 315.8);
Tailwind
colors: {
  custom: {
    50: '#73527c',
    500: '#3a0f49',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f49;
$custom-light: #73527c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f49",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 73
  },
  "hsl": {
    "h": 284.483,
    "s": 65.909,
    "l": 17.255
  },
  "oklch": {
    "l": 0.2719,
    "c": 0.10659,
    "h": 315.8
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#3A0F49
secondary
#468330
accent
#E93F6B
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0F49

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

Preview Lab → · Contrast checker → · Palette generator →

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