#3F0D58#3F0D58

#3F0D58 is a dark, vivid purple. Relative luminance 0.020; OKLCH L 29.0% C 0.127 H 311.0°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#3F0D58
RGBrgb(63, 13, 88)
HSLhsl(280, 74%, 20%)
HSVhsv(280, 85%, 35%)
CMYKcmyk(28.4%, 85.2%, 0%, 65.5%)
CIE-LABlab(15.74, 36.43, -33.72)
CIE-LCHlch(15.74, 49.64, 317.22°)
OKLaboklab(29.01% 0.0832 -0.0956)
OKLCHoklch(29.01% 0.127 311)
XYZxyz(3.9549, 2.0493, 9.4178)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D58 #26580D
analogous
#1A0D58 #3F0D58 #580D4C
triadic
#3F0D58 #583F0D #0D583F
tetradic
#3F0D58 #581A0D #26580D #0D4C58
square
#3F0D58 #581A0D #26580D #0D4C58
split-complementary
#3F0D58 #4C580D #0D581A
monochromatic
#13041B #190523 #3F0D58 #65158D #8B1DC3

Accessibility & contrast

On white

14.90
#3F0D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F0D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D58
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D58#FFFFFF#000000##FFFFFF
##3F0D581.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255A
Deuteranopia (green-blind)
#002856
Tritanopia (blue-blind)
#3C2033
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f0d58;
/* rgb */ color: rgb(63, 13, 88);
/* oklch */ color: oklch(29.0% 0.127 311.0);
Tailwind
colors: {
  custom: {
    50: '#785388',
    500: '#3f0d58',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d58;
$custom-light: #785388;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d58",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 280,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29013,
    "c": 0.12671,
    "h": 311
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#3F0D58
secondary
#50932E
accent
#F13775
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F0D58

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

Preview Lab → · Contrast checker → · Palette generator →

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