#3A0F33#3A0F33

#3A0F33 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.084 H 334.8°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#3A0F33
RGBrgb(58, 15, 51)
HSLhsl(310, 59%, 14%)
HSVhsv(310, 74%, 23%)
CMYKcmyk(0%, 74.1%, 12.1%, 77.3%)
CIE-LABlab(12.48, 26.19, -13.15)
CIE-LCHlch(12.48, 29.31, 333.34°)
OKLaboklab(25.65% 0.0761 -0.0358)
OKLCHoklch(25.65% 0.084 334.8)
XYZxyz(2.5133, 1.4804, 3.2847)
Luminance0.0148 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F33 #0F3A16
analogous
#2C0F3A #3A0F33 #3A0F1E
triadic
#3A0F33 #333A0F #0F333A
tetradic
#3A0F33 #3A2C0F #0F3A16 #0F1E3A
square
#3A0F33 #3A2C0F #0F3A16 #0F1E3A
split-complementary
#3A0F33 #1E3A0F #0F3A2C
monochromatic
#180615 #180615 #3A0F33 #6B1C5E #9B2889

Accessibility & contrast

On white

16.20
#3A0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3A0F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0F33
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F33#FFFFFF#000000##FFFFFF
##3A0F331.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1C34
Deuteranopia (green-blind)
#1D2332
Tritanopia (blue-blind)
#3D121F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3a0f33;
/* rgb */ color: rgb(58, 15, 51);
/* oklch */ color: oklch(25.7% 0.084 334.8);
Tailwind
colors: {
  custom: {
    50: '#72516a',
    500: '#3a0f33',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f33;
$custom-light: #72516a;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f33",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 309.767,
    "s": 58.904,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25653,
    "c": 0.08411,
    "h": 334.8
  },
  "luminance": 0.0148
}

Semantic roles & 50–950 ramp

primary
#3A0F33
secondary
#30743B
accent
#E25F46
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080206
muted
#7B787A

Preview Lab

Preview with #3A0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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