#3F2F86#3F2F86

#3F2F86 is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.7% C 0.139 H 286.1°. Best body text is #FFFFFF at 10.70:1 contrast (WCAG AA passes).

Color values

HEX#3F2F86
RGBrgb(63, 47, 134)
HSLhsl(251, 48%, 35%)
HSVhsv(251, 65%, 53%)
CMYKcmyk(53%, 64.9%, 0%, 47.5%)
CIE-LABlab(26.19, 31.35, -46.53)
CIE-LCHlch(26.19, 56.10, 303.97°)
OKLaboklab(37.7% 0.0385 -0.1334)
OKLCHoklch(37.7% 0.139 286.1)
XYZxyz(7.3682, 4.8107, 23.0899)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F86 #76862F
analogous
#2F4B86 #3F2F86 #6A2F86
triadic
#3F2F86 #863F2F #2F863F
tetradic
#3F2F86 #862F4B #76862F #2F866A
square
#3F2F86 #862F4B #76862F #2F866A
split-complementary
#3F2F86 #866A2F #4B862F
monochromatic
#140F2B #2A1F59 #3F2F86 #543FB3 #7866C9

Accessibility & contrast

On white

10.70
#3F2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3F2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F86
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F86#FFFFFF#000000##FFFFFF
##3F2F861.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003B84
Tritanopia (blue-blind)
#244456
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2f86;
/* rgb */ color: rgb(63, 47, 134);
/* oklch */ color: oklch(37.7% 0.139 286.1);
Tailwind
colors: {
  custom: {
    50: '#7b68aa',
    500: '#3f2f86',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f86;
$custom-light: #7b68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f86",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 251.034,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37696,
    "c": 0.13883,
    "h": 286.1
  },
  "luminance": 0.04811
}

Semantic roles & 50–950 ramp

primary
#3F2F86
secondary
#A2B060
accent
#D850BF
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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