#3F2E8A#3F2E8A

#3F2E8A is a dark, vivid violet. Relative luminance 0.048; OKLCH L 37.9% C 0.146 H 285.6°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3F2E8A
RGBrgb(63, 46, 138)
HSLhsl(251, 50%, 36%)
HSVhsv(251, 67%, 54%)
CMYKcmyk(54.3%, 66.7%, 0%, 45.9%)
CIE-LABlab(26.29, 33.25, -48.86)
CIE-LCHlch(26.29, 59.10, 304.24°)
OKLaboklab(37.87% 0.0391 -0.1402)
OKLCHoklch(37.87% 0.146 285.6)
XYZxyz(7.6130, 4.8453, 24.5739)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E8A #798A2E
analogous
#2E4B8A #3F2E8A #6D2E8A
triadic
#3F2E8A #8A3F2E #2E8A3F
tetradic
#3F2E8A #8A2E4B #798A2E #2E8A6D
square
#3F2E8A #8A2E4B #798A2E #2E8A6D
split-complementary
#3F2E8A #8A6D2E #4B8A2E
monochromatic
#150F2E #2A1F5C #3F2E8A #543DB8 #7966CC

Accessibility & contrast

On white

10.66
#3F2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3F2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E8A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E8A#FFFFFF#000000##FFFFFF
##3F2E8A1.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#214557
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3f2e8a;
/* rgb */ color: rgb(63, 46, 138);
/* oklch */ color: oklch(37.9% 0.146 285.6);
Tailwind
colors: {
  custom: {
    50: '#7c68ad',
    500: '#3f2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e8a;
$custom-light: #7c68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e8a",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 251.087,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.1456,
    "h": 285.6
  },
  "luminance": 0.04846
}

Semantic roles & 50–950 ramp

primary
#3F2E8A
secondary
#A4B361
accent
#DA4EC0
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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