#3A0F45#3A0F45

#3A0F45 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.102 H 318.7°. Best body text is #FFFFFF at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#3A0F45
RGBrgb(58, 15, 69)
HSLhsl(288, 64%, 16%)
HSVhsv(288, 78%, 27%)
CMYKcmyk(15.9%, 78.3%, 0%, 72.9%)
CIE-LABlab(13.66, 30.01, -24.10)
CIE-LCHlch(13.66, 38.48, 321.24°)
OKLaboklab(26.88% 0.0768 -0.0676)
OKLCHoklch(26.88% 0.102 318.7)
XYZxyz(2.9898, 1.6710, 5.7941)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F45 #1A450F
analogous
#1F0F45 #3A0F45 #450F35
triadic
#3A0F45 #453A0F #0F453A
tetradic
#3A0F45 #451F0F #1A450F #0F3545
square
#3A0F45 #451F0F #1A450F #0F3545
split-complementary
#3A0F45 #35450F #0F451F
monochromatic
#150519 #150519 #3A0F45 #641A77 #8F25AA

Accessibility & contrast

On white

15.74
#3A0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#3A0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0F45
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F45#FFFFFF#000000##FFFFFF
##3A0F451.0015.741.3315.74
#FFFFFF15.741.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#122444
Tritanopia (blue-blind)
#3A1928
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0f45;
/* rgb */ color: rgb(58, 15, 69);
/* oklch */ color: oklch(26.9% 0.102 318.7);
Tailwind
colors: {
  custom: {
    50: '#725279',
    500: '#3a0f45',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f45;
$custom-light: #725279;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f45",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 287.778,
    "s": 64.286,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26879,
    "c": 0.1023,
    "h": 318.7
  },
  "luminance": 0.01671
}

Semantic roles & 50–950 ramp

primary
#3A0F45
secondary
#407F30
accent
#E74162
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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