#3F0C43#3F0C43

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

Color values

HEX#3F0C43
RGBrgb(63, 12, 67)
HSLhsl(296, 70%, 15%)
HSVhsv(296, 82%, 26%)
CMYKcmyk(6%, 82.1%, 0%, 73.7%)
CIE-LABlab(13.97, 32.16, -22.14)
CIE-LCHlch(13.97, 39.04, 325.46°)
OKLaboklab(27.24% 0.0874 -0.0616)
OKLCHoklch(27.24% 0.107 324.8)
XYZxyz(3.1944, 1.7252, 5.4738)
Luminance0.0173 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C43 #10430C
analogous
#230C43 #3F0C43 #430C2B
triadic
#3F0C43 #433F0C #0C433F
tetradic
#3F0C43 #43230C #10430C #0C2B43
square
#3F0C43 #43230C #10430C #0C2B43
split-complementary
#3F0C43 #2B430C #0C4323
monochromatic
#18051A #18051A #3F0C43 #701577 #A11FAB

Accessibility & contrast

On white

15.61
#3F0C43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#3F0C43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C43
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C43#FFFFFF#000000##FFFFFF
##3F0C431.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002045
Deuteranopia (green-blind)
#172642
Tritanopia (blue-blind)
#411627
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0c43;
/* rgb */ color: rgb(63, 12, 67);
/* oklch */ color: oklch(27.2% 0.107 324.8);
Tailwind
colors: {
  custom: {
    50: '#765177',
    500: '#3f0c43',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c43;
$custom-light: #765177;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c43",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 67
  },
  "hsl": {
    "h": 295.636,
    "s": 69.62,
    "l": 15.49
  },
  "oklch": {
    "l": 0.27243,
    "c": 0.10694,
    "h": 324.8
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#3F0C43
secondary
#327F2C
accent
#EC3B48
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0C43

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

Preview Lab → · Contrast checker → · Palette generator →

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