#3F2D64#3F2D64

#3F2D64 is a dark, moderate violet. Relative luminance 0.039; OKLCH L 34.7% C 0.094 H 296.3°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#3F2D64
RGBrgb(63, 45, 100)
HSLhsl(260, 38%, 28%)
HSVhsv(260, 55%, 39%)
CMYKcmyk(37%, 55%, 0%, 60.8%)
CIE-LABlab(23.18, 21.99, -29.70)
CIE-LCHlch(23.18, 36.95, 306.52°)
OKLaboklab(34.68% 0.0415 -0.0839)
OKLCHoklch(34.68% 0.094 296.3)
XYZxyz(5.2880, 3.8536, 12.5193)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2D64 #52642D
analogous
#2D3664 #3F2D64 #5A2D64
triadic
#3F2D64 #643F2D #2D643F
tetradic
#3F2D64 #642D36 #52642D #2D645A
square
#3F2D64 #642D36 #52642D #2D645A
split-complementary
#3F2D64 #645A2D #36642D
monochromatic
#0D0915 #241A3A #3F2D64 #5A408E #7658B4

Accessibility & contrast

On white

11.86
#3F2D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F2D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2D64
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2D64#FFFFFF#000000##FFFFFF
##3F2D641.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183866
Deuteranopia (green-blind)
#1C3763
Tritanopia (blue-blind)
#373844
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2d64;
/* rgb */ color: rgb(63, 45, 100);
/* oklch */ color: oklch(34.7% 0.094 296.3);
Tailwind
colors: {
  custom: {
    50: '#766690',
    500: '#3f2d64',
    950: '#000000',
  },
}
SCSS
$custom: #3f2d64;
$custom-light: #766690;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2d64",
  "rgb": {
    "r": 63,
    "g": 45,
    "b": 100
  },
  "hsl": {
    "h": 259.636,
    "s": 37.931,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34684,
    "c": 0.09362,
    "h": 296.3
  },
  "luminance": 0.03854
}

Semantic roles & 50–950 ramp

primary
#3F2D64
secondary
#819657
accent
#CE5AA8
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #3F2D64

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

Preview Lab → · Contrast checker → · Palette generator →

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