#3F2E7E#3F2E7E

#3F2E7E is a dark, vivid violet. Relative luminance 0.045; OKLCH L 36.9% C 0.129 H 288.1°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3F2E7E
RGBrgb(63, 46, 126)
HSLhsl(253, 47%, 34%)
HSVhsv(253, 63%, 49%)
CMYKcmyk(50%, 63.5%, 0%, 50.6%)
CIE-LABlab(25.31, 29.42, -42.93)
CIE-LCHlch(25.31, 52.04, 304.42°)
OKLaboklab(36.85% 0.0402 -0.1228)
OKLCHoklch(36.85% 0.129 288.1)
XYZxyz(6.7917, 4.5168, 20.2486)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2E7E #6D7E2E
analogous
#2E457E #3F2E7E #672E7E
triadic
#3F2E7E #7E3F2E #2E7E3F
tetradic
#3F2E7E #7E2E45 #6D7E2E #2E7E67
square
#3F2E7E #7E2E45 #6D7E2E #2E7E67
split-complementary
#3F2E7E #7E672E #457E2E
monochromatic
#120D24 #291E51 #3F2E7E #553EAB #7661C5

Accessibility & contrast

On white

11.03
#3F2E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3F2E7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2E7E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2E7E#FFFFFF#000000##FFFFFF
##3F2E7E1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#2A4151
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3f2e7e;
/* rgb */ color: rgb(63, 46, 126);
/* oklch */ color: oklch(36.9% 0.129 288.1);
Tailwind
colors: {
  custom: {
    50: '#7a67a4',
    500: '#3f2e7e',
    950: '#000000',
  },
}
SCSS
$custom: #3f2e7e;
$custom-light: #7a67a4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2e7e",
  "rgb": {
    "r": 63,
    "g": 46,
    "b": 126
  },
  "hsl": {
    "h": 252.75,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36854,
    "c": 0.12924,
    "h": 288.1
  },
  "luminance": 0.04517
}

Semantic roles & 50–950 ramp

primary
#3F2E7E
secondary
#9BAC5C
accent
#D652BA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #3F2E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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