#3A0F44#3A0F44

#3A0F44 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.101 H 319.4°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#3A0F44
RGBrgb(58, 15, 68)
HSLhsl(289, 64%, 16%)
HSVhsv(289, 78%, 27%)
CMYKcmyk(14.7%, 77.9%, 0%, 73.3%)
CIE-LABlab(13.58, 29.78, -23.51)
CIE-LCHlch(13.58, 37.94, 321.70°)
OKLaboklab(26.8% 0.0769 -0.0659)
OKLCHoklch(26.8% 0.101 319.4)
XYZxyz(2.9590, 1.6587, 5.6320)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F44 #19440F
analogous
#200F44 #3A0F44 #440F34
triadic
#3A0F44 #443A0F #0F443A
tetradic
#3A0F44 #44200F #19440F #0F3444
square
#3A0F44 #44200F #19440F #0F3444
split-complementary
#3A0F44 #34440F #0F4420
monochromatic
#150619 #150619 #3A0F44 #651A76 #9025A8

Accessibility & contrast

On white

15.77
#3A0F44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0F44
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F44#FFFFFF#000000##FFFFFF
##3A0F441.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a0f44;
/* rgb */ color: rgb(58, 15, 68);
/* oklch */ color: oklch(26.8% 0.101 319.4);
Tailwind
colors: {
  custom: {
    50: '#725278',
    500: '#3a0f44',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f44;
$custom-light: #725278;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f44",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 68
  },
  "hsl": {
    "h": 288.679,
    "s": 63.855,
    "l": 16.275
  },
  "oklch": {
    "l": 0.26803,
    "c": 0.10123,
    "h": 319.4
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#3A0F44
secondary
#3F7E30
accent
#E74160
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0F44

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

Preview Lab → · Contrast checker → · Palette generator →

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