#3F2E93#3F2E93

#3F2E93 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.7% C 0.158 H 283.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3F2E93
RGBrgb(63, 46, 147)
HSLhsl(250, 52%, 38%)
HSVhsv(250, 69%, 58%)
CMYKcmyk(57.1%, 68.7%, 0%, 42.4%)
CIE-LABlab(27.07, 36.13, -53.16)
CIE-LCHlch(27.07, 64.27, 304.20°)
OKLaboklab(38.67% 0.0379 -0.1529)
OKLCHoklch(38.67% 0.158 283.9)
XYZxyz(8.2917, 5.1168, 28.1488)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E93 #82932E
analogous
#2E4F93 #3F2E93 #712E93
triadic
#3F2E93 #933F2E #2E933F
tetradic
#3F2E93 #932E4F #82932E #2E9371
square
#3F2E93 #932E4F #82932E #2E9371
split-complementary
#3F2E93 #93712E #4F932E
monochromatic
#171136 #2B1F64 #3F2E93 #533DC2 #7C6BD1

Accessibility & contrast

On white

10.38
#3F2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3F2E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E93
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E93#FFFFFF#000000##FFFFFF
##3F2E931.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004396
Deuteranopia (green-blind)
#003D91
Tritanopia (blue-blind)
#16485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3f2e93;
/* rgb */ color: rgb(63, 46, 147);
/* oklch */ color: oklch(38.7% 0.158 283.9);
Tailwind
colors: {
  custom: {
    50: '#7d68b4',
    500: '#3f2e93',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e93;
$custom-light: #7d68b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e93",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 250.099,
    "s": 52.332,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38674,
    "c": 0.15751,
    "h": 283.9
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#3F2E93
secondary
#AAB865
accent
#DC4CC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3F2E93

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

Preview Lab → · Contrast checker → · Palette generator →

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