#3F2D4E#3F2D4E

#3F2D4E is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.3% C 0.061 H 308.5°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#3F2D4E
RGBrgb(63, 45, 78)
HSLhsl(273, 27%, 24%)
HSVhsv(273, 42%, 31%)
CMYKcmyk(19.2%, 42.3%, 0%, 69.4%)
CIE-LABlab(21.89, 15.73, -17.20)
CIE-LCHlch(21.89, 23.31, 312.44°)
OKLaboklab(33.29% 0.0378 -0.0476)
OKLCHoklch(33.29% 0.061 308.5)
XYZxyz(4.3632, 3.4836, 7.6488)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D4E #3C4E2D
analogous
#2F2D4E #3F2D4E #4E2D4D
triadic
#3F2D4E #4E3F2D #2D4E3F
tetradic
#3F2D4E #4E2F2D #3C4E2D #2D4D4E
square
#3F2D4E #4E2F2D #3C4E2D #2D4D4E
split-complementary
#3F2D4E #4D4E2D #2D4E2F
monochromatic
#100B13 #201727 #3F2D4E #5E4375 #7E5A9C

Accessibility & contrast

On white

12.38
#3F2D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3F2D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D4E
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D4E#FFFFFF#000000##FFFFFF
##3F2D4E1.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26344F
Deuteranopia (green-blind)
#2A354D
Tritanopia (blue-blind)
#3D3239
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3f2d4e;
/* rgb */ color: rgb(63, 45, 78);
/* oklch */ color: oklch(33.3% 0.061 308.5);
Tailwind
colors: {
  custom: {
    50: '#75667f',
    500: '#3f2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d4e;
$custom-light: #75667f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d4e",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 272.727,
    "s": 26.829,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3329,
    "c": 0.0608,
    "h": 308.5
  },
  "luminance": 0.03484
}

Semantic roles & 50–950 ramp

primary
#3F2D4E
secondary
#6A8057
accent
#C36590
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3F2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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