#3F0F4B#3F0F4B

#3F0F4B is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.2% C 0.111 H 318.7°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#3F0F4B
RGBrgb(63, 15, 75)
HSLhsl(288, 67%, 18%)
HSVhsv(288, 80%, 29%)
CMYKcmyk(16%, 80%, 0%, 70.6%)
CIE-LABlab(14.99, 32.62, -26.07)
CIE-LCHlch(14.99, 41.76, 321.37°)
OKLaboklab(28.15% 0.0834 -0.0732)
OKLCHoklch(28.15% 0.111 318.7)
XYZxyz(3.4906, 1.9066, 6.8394)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F4B #1B4B0F
analogous
#210F4B #3F0F4B #4B0F39
triadic
#3F0F4B #4B3F0F #0F4B3F
tetradic
#3F0F4B #4B210F #1B4B0F #0F394B
square
#3F0F4B #4B210F #1B4B0F #0F394B
split-complementary
#3F0F4B #394B0F #0F4B21
monochromatic
#15051A #15051A #3F0F4B #6A197E #9523B1

Accessibility & contrast

On white

15.20
#3F0F4B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3F0F4B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F4B
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F4B#FFFFFF#000000##FFFFFF
##3F0F4B1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234D
Deuteranopia (green-blind)
#13274A
Tritanopia (blue-blind)
#3F1B2C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0f4b;
/* rgb */ color: rgb(63, 15, 75);
/* oklch */ color: oklch(28.2% 0.111 318.7);
Tailwind
colors: {
  custom: {
    50: '#77537e',
    500: '#3f0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f4b;
$custom-light: #77537e;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f4b",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 288,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28151,
    "c": 0.11096,
    "h": 318.7
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#3F0F4B
secondary
#418530
accent
#EA3E60
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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