#3F2E8F#3F2E8F

#3F2E8F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.3% C 0.152 H 284.6°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#3F2E8F
RGBrgb(63, 46, 143)
HSLhsl(251, 51%, 37%)
HSVhsv(251, 68%, 56%)
CMYKcmyk(55.9%, 67.8%, 0%, 43.9%)
CIE-LABlab(26.72, 34.85, -51.26)
CIE-LCHlch(26.72, 61.98, 304.21°)
OKLaboklab(38.31% 0.0385 -0.1473)
OKLCHoklch(38.31% 0.152 284.6)
XYZxyz(7.9833, 4.9935, 26.5244)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E8F #7E8F2E
analogous
#2E4E8F #3F2E8F #6F2E8F
triadic
#3F2E8F #8F3F2E #2E8F3F
tetradic
#3F2E8F #8F2E4E #7E8F2E #2E8F6F
square
#3F2E8F #8F2E4E #7E8F2E #2E8F6F
split-complementary
#3F2E8F #8F6F2E #4E8F2E
monochromatic
#161032 #2B1F61 #3F2E8F #533DBD #7B69CF

Accessibility & contrast

On white

10.51
#3F2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3F2E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E8F
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E8F#FFFFFF#000000##FFFFFF
##3F2E8F1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#1B465A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3f2e8f;
/* rgb */ color: rgb(63, 46, 143);
/* oklch */ color: oklch(38.3% 0.152 284.6);
Tailwind
colors: {
  custom: {
    50: '#7c68b1',
    500: '#3f2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e8f;
$custom-light: #7c68b1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e8f",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 250.515,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.15225,
    "h": 284.6
  },
  "luminance": 0.04994
}

Semantic roles & 50–950 ramp

primary
#3F2E8F
secondary
#A7B663
accent
#DB4DC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3F2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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