#3F1F75#3F1F75

#3F1F75 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.138 H 294.9°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#3F1F75
RGBrgb(63, 31, 117)
HSLhsl(262, 58%, 29%)
HSVhsv(262, 74%, 46%)
CMYKcmyk(46.2%, 73.5%, 0%, 54.1%)
CIE-LABlab(21.29, 35.57, -43.75)
CIE-LCHlch(21.29, 56.39, 309.11°)
OKLaboklab(33.72% 0.0582 -0.1252)
OKLCHoklch(33.72% 0.138 294.9)
XYZxyz(5.7499, 3.3209, 17.1642)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1F75 #55751F
analogous
#1F2A75 #3F1F75 #6A1F75
triadic
#3F1F75 #753F1F #1F753F
tetradic
#3F1F75 #751F2A #55751F #1F756A
square
#3F1F75 #751F2A #55751F #1F756A
split-complementary
#3F1F75 #756A1F #2A751F
monochromatic
#0D0618 #251245 #3F1F75 #592CA5 #7542CD

Accessibility & contrast

On white

12.62
#3F1F75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3F1F75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1F75
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1F75#FFFFFF#000000##FFFFFF
##3F1F751.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#303547
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f1f75;
/* rgb */ color: rgb(63, 31, 117);
/* oklch */ color: oklch(33.7% 0.138 294.9);
Tailwind
colors: {
  custom: {
    50: '#7a5d9d',
    500: '#3f1f75',
    950: '#000000',
  },
}
SCSS
$custom: #3f1f75;
$custom-light: #7a5d9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1f75",
  "rgb": {
    "r": 63,
    "g": 31,
    "b": 117
  },
  "hsl": {
    "h": 262.326,
    "s": 58.108,
    "l": 29.02
  },
  "oklch": {
    "l": 0.33716,
    "c": 0.13807,
    "h": 294.9
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#3F1F75
secondary
#84A947
accent
#E146A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3F1F75

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

Preview Lab → · Contrast checker → · Palette generator →

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