#3F0F4D#3F0F4D

#3F0F4D is a dark, moderate purple. Relative luminance 0.019; OKLCH L 28.3% C 0.113 H 317.4°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#3F0F4D
RGBrgb(63, 15, 77)
HSLhsl(286, 67%, 18%)
HSVhsv(286, 81%, 30%)
CMYKcmyk(18.2%, 80.5%, 0%, 69.8%)
CIE-LABlab(15.14, 33.07, -27.21)
CIE-LCHlch(15.14, 42.83, 320.56°)
OKLaboklab(28.31% 0.0832 -0.0765)
OKLCHoklch(28.31% 0.113 317.4)
XYZxyz(3.5601, 1.9344, 7.2056)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F4D #1D4D0F
analogous
#200F4D #3F0F4D #4D0F3C
triadic
#3F0F4D #4D3F0F #0F4D3F
tetradic
#3F0F4D #4D200F #1D4D0F #0F3C4D
square
#3F0F4D #4D200F #1D4D0F #0F3C4D
split-complementary
#3F0F4D #3C4D0F #0F4D20
monochromatic
#15051A #15051A #3F0F4D #691980 #9323B3

Accessibility & contrast

On white

15.14
#3F0F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3F0F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F4D
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F4D#FFFFFF#000000##FFFFFF
##3F0F4D1.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00234F
Deuteranopia (green-blind)
#11274C
Tritanopia (blue-blind)
#3E1C2D
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3f0f4d;
/* rgb */ color: rgb(63, 15, 77);
/* oklch */ color: oklch(28.3% 0.113 317.4);
Tailwind
colors: {
  custom: {
    50: '#77537f',
    500: '#3f0f4d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f4d;
$custom-light: #77537f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f4d",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 77
  },
  "hsl": {
    "h": 286.452,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28306,
    "c": 0.11302,
    "h": 317.4
  },
  "luminance": 0.01934
}

Semantic roles & 50–950 ramp

primary
#3F0F4D
secondary
#448731
accent
#EA3E65
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F0F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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