#3F2E86#3F2E86

#3F2E86 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.5% C 0.140 H 286.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3F2E86
RGBrgb(63, 46, 134)
HSLhsl(252, 49%, 35%)
HSVhsv(252, 66%, 53%)
CMYKcmyk(53%, 65.7%, 0%, 47.5%)
CIE-LABlab(25.96, 31.97, -46.91)
CIE-LCHlch(25.96, 56.76, 304.28°)
OKLaboklab(37.53% 0.0396 -0.1345)
OKLCHoklch(37.53% 0.14 286.4)
XYZxyz(7.3287, 4.7316, 23.0768)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E86 #75862E
analogous
#2E4986 #3F2E86 #6B2E86
triadic
#3F2E86 #863F2E #2E863F
tetradic
#3F2E86 #862E49 #75862E #2E866B
square
#3F2E86 #862E49 #75862E #2E866B
split-complementary
#3F2E86 #866B2E #49862E
monochromatic
#140F2B #2A1E58 #3F2E86 #543EB4 #7864CA

Accessibility & contrast

On white

10.79
#3F2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F2E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E86
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E86#FFFFFF#000000##FFFFFF
##3F2E861.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2e86;
/* rgb */ color: rgb(63, 46, 134);
/* oklch */ color: oklch(37.5% 0.140 286.4);
Tailwind
colors: {
  custom: {
    50: '#7b68aa',
    500: '#3f2e86',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e86;
$custom-light: #7b68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e86",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 251.591,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37527,
    "c": 0.14021,
    "h": 286.4
  },
  "luminance": 0.04732
}

Semantic roles & 50–950 ramp

primary
#3F2E86
secondary
#A1B15F
accent
#D84FBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2E86

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

Preview Lab → · Contrast checker → · Palette generator →

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