#3F2A4E#3F2A4E

#3F2A4E is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.7% C 0.067 H 310.0°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#3F2A4E
RGBrgb(63, 42, 78)
HSLhsl(275, 30%, 24%)
HSVhsv(275, 46%, 31%)
CMYKcmyk(19.2%, 46.2%, 0%, 69.4%)
CIE-LABlab(21.07, 17.74, -18.48)
CIE-LCHlch(21.07, 25.61, 313.82°)
OKLaboklab(32.67% 0.043 -0.0513)
OKLCHoklch(32.67% 0.067 310)
XYZxyz(4.2528, 3.2628, 7.6120)
Luminance0.0326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2A4E #394E2A
analogous
#2D2A4E #3F2A4E #4E2A4B
triadic
#3F2A4E #4E3F2A #2A4E3F
tetradic
#3F2A4E #4E2D2A #394E2A #2A4B4E
square
#3F2A4E #4E2D2A #394E2A #2A4B4E
split-complementary
#3F2A4E #4B4E2A #2A4E2D
monochromatic
#100B14 #1F1526 #3F2A4E #5F3F76 #7F559E

Accessibility & contrast

On white

12.71
#3F2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3F2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2A4E
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2A4E#FFFFFF#000000##FFFFFF
##3F2A4E1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#28334D
Tritanopia (blue-blind)
#3D2F38
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f2a4e;
/* rgb */ color: rgb(63, 42, 78);
/* oklch */ color: oklch(32.7% 0.067 310.0);
Tailwind
colors: {
  custom: {
    50: '#75647f',
    500: '#3f2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f2a4e;
$custom-light: #75647f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2a4e",
  "rgb": {
    "r": 63,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 275,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.32673,
    "c": 0.06691,
    "h": 310
  },
  "luminance": 0.03263
}

Semantic roles & 50–950 ramp

primary
#3F2A4E
secondary
#668054
accent
#C6628C
background
#F7F5F7
surface
#EDEAEE
border
#C8C6C9
text
#08050A
muted
#7B797C

Preview Lab

Preview with #3F2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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