#3F1C8F#3F1C8F

#3F1C8F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.8% C 0.172 H 288.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3F1C8F
RGBrgb(63, 28, 143)
HSLhsl(258, 67%, 34%)
HSVhsv(258, 80%, 56%)
CMYKcmyk(55.9%, 80.4%, 0%, 43.9%)
CIE-LABlab(23.24, 44.58, -56.96)
CIE-LCHlch(23.24, 72.34, 308.05°)
OKLaboklab(35.85% 0.0537 -0.1639)
OKLCHoklch(35.85% 0.172 288.2)
XYZxyz(7.4216, 3.8701, 26.3372)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C8F #6C8F1C
analogous
#1C328F #3F1C8F #781C8F
triadic
#3F1C8F #8F3F1C #1C8F3F
tetradic
#3F1C8F #8F1C32 #6C8F1C #1C8F78
square
#3F1C8F #8F1C32 #6C8F1C #1C8F78
split-complementary
#3F1C8F #8F781C #328F1C
monochromatic
#120829 #28125C #3F1C8F #5626C2 #764ADC

Accessibility & contrast

On white

11.84
#3F1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C8F
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C8F#FFFFFF#000000##FFFFFF
##3F1C8F1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#1D3E55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f1c8f;
/* rgb */ color: rgb(63, 28, 143);
/* oklch */ color: oklch(35.8% 0.172 288.2);
Tailwind
colors: {
  custom: {
    50: '#7e5db1',
    500: '#3f1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c8f;
$custom-light: #7e5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c8f",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 258.261,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35847,
    "c": 0.17249,
    "h": 288.2
  },
  "luminance": 0.0387
}

Semantic roles & 50–950 ramp

primary
#3F1C8F
secondary
#9ABE49
accent
#EA3EB6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3F1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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