#3F2B79#3F2B79

#3F2B79 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 35.9% C 0.127 H 290.4°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#3F2B79
RGBrgb(63, 43, 121)
HSLhsl(255, 48%, 32%)
HSVhsv(255, 64%, 47%)
CMYKcmyk(47.9%, 64.5%, 0%, 52.5%)
CIE-LABlab(24.21, 29.72, -41.55)
CIE-LCHlch(24.21, 51.09, 305.57°)
OKLaboklab(35.93% 0.0441 -0.1188)
OKLCHoklch(35.93% 0.127 290.4)
XYZxyz(6.3640, 4.1648, 18.5540)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B79 #65792B
analogous
#2B3E79 #3F2B79 #662B79
triadic
#3F2B79 #793F2B #2B793F
tetradic
#3F2B79 #792B3E #65792B #2B7966
square
#3F2B79 #792B3E #65792B #2B7966
split-complementary
#3F2B79 #79662B #3E792B
monochromatic
#100B1F #271B4C #3F2B79 #573BA6 #755AC4

Accessibility & contrast

On white

11.46
#3F2B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3F2B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B79
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B79#FFFFFF#000000##FFFFFF
##3F2B791.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7B
Deuteranopia (green-blind)
#003877
Tritanopia (blue-blind)
#2D3D4D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2b79;
/* rgb */ color: rgb(63, 43, 121);
/* oklch */ color: oklch(35.9% 0.127 290.4);
Tailwind
colors: {
  custom: {
    50: '#7965a0',
    500: '#3f2b79',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b79;
$custom-light: #7965a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b79",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 255.385,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35926,
    "c": 0.12671,
    "h": 290.4
  },
  "luminance": 0.04165
}

Semantic roles & 50–950 ramp

primary
#3F2B79
secondary
#95AA56
accent
#D751B5
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060F
muted
#7B7A7E

Preview Lab

Preview with #3F2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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