#3F0B4A#3F0B4A

#3F0B4A is a dark, moderate purple. Relative luminance 0.018; OKLCH L 27.7% C 0.115 H 319.8°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#3F0B4A
RGBrgb(63, 11, 74)
HSLhsl(290, 74%, 17%)
HSVhsv(290, 85%, 29%)
CMYKcmyk(14.9%, 85.1%, 0%, 71%)
CIE-LABlab(14.35, 34.02, -26.41)
CIE-LCHlch(14.35, 43.07, 322.18°)
OKLaboklab(27.67% 0.0878 -0.0741)
OKLCHoklch(27.67% 0.115 319.8)
XYZxyz(3.4054, 1.7907, 6.6435)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0B4A #164A0B
analogous
#200B4A #3F0B4A #4A0B36
triadic
#3F0B4A #4A3F0B #0B4A3F
tetradic
#3F0B4A #4A200B #164A0B #0B364A
square
#3F0B4A #4A200B #164A0B #0B364A
split-complementary
#3F0B4A #364A0B #0B4A20
monochromatic
#17041B #17041B #3F0B4A #6C137F #9A1BB5

Accessibility & contrast

On white

15.46
#3F0B4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#3F0B4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0B4A
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0B4A#FFFFFF#000000##FFFFFF
##3F0B4A1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00214C
Deuteranopia (green-blind)
#112649
Tritanopia (blue-blind)
#3F182A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #3f0b4a;
/* rgb */ color: rgb(63, 11, 74);
/* oklch */ color: oklch(27.7% 0.115 319.8);
Tailwind
colors: {
  custom: {
    50: '#77517d',
    500: '#3f0b4a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0b4a;
$custom-light: #77517d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0b4a",
  "rgb": {
    "r": 63,
    "g": 11,
    "b": 74
  },
  "hsl": {
    "h": 289.524,
    "s": 74.118,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27672,
    "c": 0.11491,
    "h": 319.8
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#3F0B4A
secondary
#3B862B
accent
#F13757
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#090209
muted
#7B787B

Preview Lab

Preview with #3F0B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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