#3F1C6D#3F1C6D

#3F1C6D is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.132 H 298.5°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#3F1C6D
RGBrgb(63, 28, 109)
HSLhsl(266, 59%, 27%)
HSVhsv(266, 74%, 43%)
CMYKcmyk(42.2%, 74.3%, 0%, 57.3%)
CIE-LABlab(20.01, 34.90, -40.67)
CIE-LCHlch(20.01, 53.59, 310.63°)
OKLaboklab(32.59% 0.063 -0.1161)
OKLCHoklch(32.59% 0.132 298.5)
XYZxyz(5.2248, 2.9913, 14.7671)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1C6D #4A6D1C
analogous
#1C226D #3F1C6D #681C6D
triadic
#3F1C6D #6D3F1C #1C6D3F
tetradic
#3F1C6D #6D1C22 #4A6D1C #1C6D68
square
#3F1C6D #6D1C22 #4A6D1C #1C6D68
split-complementary
#3F1C6D #6D681C #226D1C
monochromatic
#0E0618 #230F3C #3F1C6D #5B299E #7838CC

Accessibility & contrast

On white

13.14
#3F1C6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3F1C6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1C6D
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1C6D#FFFFFF#000000##FFFFFF
##3F1C6D1.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306F
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#343042
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3f1c6d;
/* rgb */ color: rgb(63, 28, 109);
/* oklch */ color: oklch(32.6% 0.132 298.5);
Tailwind
colors: {
  custom: {
    50: '#795b98',
    500: '#3f1c6d',
    950: '#000000',
  },
}
SCSS
$custom: #3f1c6d;
$custom-light: #795b98;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1c6d",
  "rgb": {
    "r": 63,
    "g": 28,
    "b": 109
  },
  "hsl": {
    "h": 265.926,
    "s": 59.124,
    "l": 26.863
  },
  "oklch": {
    "l": 0.32591,
    "c": 0.13212,
    "h": 298.5
  },
  "luminance": 0.02991
}

Semantic roles & 50–950 ramp

primary
#3F1C6D
secondary
#79A243
accent
#E2459F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3F1C6D

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

Preview Lab → · Contrast checker → · Palette generator →

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