#3F1472#3F1472

#3F1472 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.147 H 298.1°. Best body text is #FFFFFF at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#3F1472
RGBrgb(63, 20, 114)
HSLhsl(267, 70%, 26%)
HSVhsv(267, 82%, 45%)
CMYKcmyk(44.7%, 82.5%, 0%, 55.3%)
CIE-LABlab(19.11, 40.14, -45.38)
CIE-LCHlch(19.11, 60.59, 311.49°)
OKLaboklab(32.1% 0.0694 -0.1299)
OKLCHoklch(32.1% 0.147 298.1)
XYZxyz(5.3365, 2.7719, 16.1702)
Luminance0.0277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1472 #477214
analogous
#141872 #3F1472 #6E1472
triadic
#3F1472 #723F14 #14723F
tetradic
#3F1472 #721418 #477214 #14726E
square
#3F1472 #721418 #477214 #14726E
split-complementary
#3F1472 #726E14 #187214
monochromatic
#0E051A #220B3E #3F1472 #5C1DA6 #7927D9

Accessibility & contrast

On white

13.51
#3F1472 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3F1472 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1472
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1472#FFFFFF#000000##FFFFFF
##3F14721.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#322E43
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1472;
/* rgb */ color: rgb(63, 20, 114);
/* oklch */ color: oklch(32.1% 0.147 298.1);
Tailwind
colors: {
  custom: {
    50: '#7a579b',
    500: '#3f1472',
    950: '#000000',
  },
}
SCSS
$custom: #3f1472;
$custom-light: #7a579b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1472",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 114
  },
  "hsl": {
    "h": 267.447,
    "s": 70.149,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32096,
    "c": 0.14729,
    "h": 298.1
  },
  "luminance": 0.02772
}

Semantic roles & 50–950 ramp

primary
#3F1472
secondary
#76A839
accent
#ED3B9B
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F1472

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

Preview Lab → · Contrast checker → · Palette generator →

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