#3F0338#3F0338

#3F0338 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.109 H 333.9°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#3F0338
RGBrgb(63, 3, 56)
HSLhsl(307, 91%, 13%)
HSVhsv(307, 95%, 25%)
CMYKcmyk(0%, 95.2%, 11.1%, 75.3%)
CIE-LABlab(12.01, 33.63, -17.44)
CIE-LCHlch(12.01, 37.88, 332.59°)
OKLaboklab(25.61% 0.0977 -0.0479)
OKLCHoklch(25.61% 0.109 333.9)
XYZxyz(2.7963, 1.4077, 3.8651)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0338 #033F0A
analogous
#28033F #3F0338 #3F031A
triadic
#3F0338 #383F03 #03383F
tetradic
#3F0338 #3F2803 #033F0A #031A3F
square
#3F0338 #3F2803 #033F0A #031A3F
split-complementary
#3F0338 #1A3F03 #033F28
monochromatic
#1D011A #1D011A #3F0338 #79066C #B409A0

Accessibility & contrast

On white

16.39
#3F0338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3F0338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0338
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0338#FFFFFF#000000##FFFFFF
##3F03381.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011A39
Deuteranopia (green-blind)
#1A2337
Tritanopia (blue-blind)
#42091E
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3f0338;
/* rgb */ color: rgb(63, 3, 56);
/* oklch */ color: oklch(25.6% 0.109 333.9);
Tailwind
colors: {
  custom: {
    50: '#774d6f',
    500: '#3f0338',
    950: '#000000',
  },
}
SCSS
$custom: #3f0338;
$custom-light: #774d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0338",
  "rgb": {
    "r": 63,
    "g": 3,
    "b": 56
  },
  "hsl": {
    "h": 307,
    "s": 90.909,
    "l": 12.941
  },
  "oklch": {
    "l": 0.25605,
    "c": 0.10884,
    "h": 333.9
  },
  "luminance": 0.01407
}

Semantic roles & 50–950 ramp

primary
#3F0338
secondary
#1D8128
accent
#FF4229
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#090207
muted
#7B787A

Preview Lab

Preview with #3F0338

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

Preview Lab → · Contrast checker → · Palette generator →

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