#3F0C45#3F0C45

#3F0C45 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 27.4% C 0.109 H 323.3°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#3F0C45
RGBrgb(63, 12, 69)
HSLhsl(294, 70%, 16%)
HSVhsv(294, 83%, 27%)
CMYKcmyk(8.7%, 82.6%, 0%, 72.9%)
CIE-LABlab(14.11, 32.57, -23.31)
CIE-LCHlch(14.11, 40.06, 324.41°)
OKLaboklab(27.39% 0.0873 -0.0651)
OKLCHoklch(27.39% 0.109 323.3)
XYZxyz(3.2554, 1.7496, 5.7953)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C45 #12450C
analogous
#220C45 #3F0C45 #450C2E
triadic
#3F0C45 #453F0C #0C453F
tetradic
#3F0C45 #45220C #12450C #0C2E45
square
#3F0C45 #45220C #12450C #0C2E45
split-complementary
#3F0C45 #2E450C #0C4522
monochromatic
#18051A #18051A #3F0C45 #6F1579 #9E1EAD

Accessibility & contrast

On white

15.56
#3F0C45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0C45
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C45#FFFFFF#000000##FFFFFF
##3F0C451.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002047
Deuteranopia (green-blind)
#162644
Tritanopia (blue-blind)
#401728
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0c45;
/* rgb */ color: rgb(63, 12, 69);
/* oklch */ color: oklch(27.4% 0.109 323.3);
Tailwind
colors: {
  custom: {
    50: '#765179',
    500: '#3f0c45',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c45;
$custom-light: #765179;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c45",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 69
  },
  "hsl": {
    "h": 293.684,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.27388,
    "c": 0.10886,
    "h": 323.3
  },
  "luminance": 0.01749
}

Semantic roles & 50–950 ramp

primary
#3F0C45
secondary
#35812C
accent
#ED3B4D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0C45

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

Preview Lab → · Contrast checker → · Palette generator →

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