#3A0F43#3A0F43

#3A0F43 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.7% C 0.100 H 320.2°. Best body text is #FFFFFF at 15.80:1 contrast (WCAG AA passes).

Color values

HEX#3A0F43
RGBrgb(58, 15, 67)
HSLhsl(290, 63%, 16%)
HSVhsv(290, 78%, 26%)
CMYKcmyk(13.4%, 77.6%, 0%, 73.7%)
CIE-LABlab(13.51, 29.55, -22.93)
CIE-LCHlch(13.51, 37.40, 322.19°)
OKLaboklab(26.73% 0.0769 -0.0641)
OKLCHoklch(26.73% 0.1 320.2)
XYZxyz(2.9287, 1.6466, 5.4727)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0F43 #18430F
analogous
#200F43 #3A0F43 #430F32
triadic
#3A0F43 #433A0F #0F433A
tetradic
#3A0F43 #43200F #18430F #0F3243
square
#3A0F43 #43200F #18430F #0F3243
split-complementary
#3A0F43 #32430F #0F4320
monochromatic
#160619 #160619 #3A0F43 #651A75 #9125A7

Accessibility & contrast

On white

15.80
#3A0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A0F43
15.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0F43#FFFFFF#000000##FFFFFF
##3A0F431.0015.801.3315.80
#FFFFFF15.801.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002044
Deuteranopia (green-blind)
#142442
Tritanopia (blue-blind)
#3A1827
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #3a0f43;
/* rgb */ color: rgb(58, 15, 67);
/* oklch */ color: oklch(26.7% 0.100 320.2);
Tailwind
colors: {
  custom: {
    50: '#725277',
    500: '#3a0f43',
    950: '#000000',
  },
}
SCSS
$custom: #3a0f43;
$custom-light: #725277;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0f43",
  "rgb": {
    "r": 58,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 289.615,
    "s": 63.415,
    "l": 16.078
  },
  "oklch": {
    "l": 0.26729,
    "c": 0.10017,
    "h": 320.2
  },
  "luminance": 0.01646
}

Semantic roles & 50–950 ramp

primary
#3A0F43
secondary
#3E7D30
accent
#E6415E
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #3A0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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