#3F2B4E#3F2B4E

#3F2B4E is a dark, moderate violet. Relative luminance 0.033; OKLCH L 32.9% C 0.065 H 309.5°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#3F2B4E
RGBrgb(63, 43, 78)
HSLhsl(274, 29%, 24%)
HSVhsv(274, 45%, 31%)
CMYKcmyk(19.2%, 44.9%, 0%, 69.4%)
CIE-LABlab(21.34, 17.07, -18.06)
CIE-LCHlch(21.34, 24.85, 313.39°)
OKLaboklab(32.88% 0.0413 -0.0501)
OKLCHoklch(32.88% 0.065 309.5)
XYZxyz(4.2887, 3.3346, 7.6240)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B4E #3A4E2B
analogous
#2D2B4E #3F2B4E #4E2B4B
triadic
#3F2B4E #4E3F2B #2B4E3F
tetradic
#3F2B4E #4E2D2B #3A4E2B #2B4B4E
square
#3F2B4E #4E2D2B #3A4E2B #2B4B4E
split-complementary
#3F2B4E #4B4E2B #2B4E2D
monochromatic
#100B14 #1F1527 #3F2B4E #5F4175 #7F569D

Accessibility & contrast

On white

12.60
#3F2B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#3F2B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B4E
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B4E#FFFFFF#000000##FFFFFF
##3F2B4E1.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324F
Deuteranopia (green-blind)
#28344D
Tritanopia (blue-blind)
#3D3038
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3f2b4e;
/* rgb */ color: rgb(63, 43, 78);
/* oklch */ color: oklch(32.9% 0.065 309.5);
Tailwind
colors: {
  custom: {
    50: '#75647f',
    500: '#3f2b4e',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b4e;
$custom-light: #75647f;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b4e",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 274.286,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32876,
    "c": 0.06488,
    "h": 309.5
  },
  "luminance": 0.03335
}

Semantic roles & 50–950 ramp

primary
#3F2B4E
secondary
#678055
accent
#C5638D
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08050A
muted
#7B7A7C

Preview Lab

Preview with #3F2B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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