#3F2E84#3F2E84

#3F2E84 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.137 H 286.8°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#3F2E84
RGBrgb(63, 46, 132)
HSLhsl(252, 48%, 35%)
HSVhsv(252, 65%, 52%)
CMYKcmyk(52.3%, 65.2%, 0%, 48.2%)
CIE-LABlab(25.79, 31.33, -45.92)
CIE-LCHlch(25.79, 55.59, 304.30°)
OKLaboklab(37.36% 0.0398 -0.1316)
OKLCHoklch(37.36% 0.137 286.8)
XYZxyz(7.1905, 4.6763, 22.3491)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E84 #73842E
analogous
#2E4884 #3F2E84 #6A2E84
triadic
#3F2E84 #843F2E #2E843F
tetradic
#3F2E84 #842E48 #73842E #2E846A
square
#3F2E84 #842E48 #73842E #2E846A
split-complementary
#3F2E84 #846A2E #48842E
monochromatic
#140E29 #291E57 #3F2E84 #553EB1 #7864C9

Accessibility & contrast

On white

10.85
#3F2E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#3F2E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E84
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E84#FFFFFF#000000##FFFFFF
##3F2E841.0010.851.9410.85
#FFFFFF10.851.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F87
Deuteranopia (green-blind)
#003B82
Tritanopia (blue-blind)
#264354
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2e84;
/* rgb */ color: rgb(63, 46, 132);
/* oklch */ color: oklch(37.4% 0.137 286.8);
Tailwind
colors: {
  custom: {
    50: '#7b68a8',
    500: '#3f2e84',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e84;
$custom-light: #7b68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e84",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 251.86,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.13748,
    "h": 286.8
  },
  "luminance": 0.04677
}

Semantic roles & 50–950 ramp

primary
#3F2E84
secondary
#9FB05E
accent
#D850BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2E84

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

Preview Lab → · Contrast checker → · Palette generator →

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