#3F2B73#3F2B73

#3F2B73 is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.4% C 0.118 H 292.1°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#3F2B73
RGBrgb(63, 43, 115)
HSLhsl(257, 46%, 31%)
HSVhsv(257, 63%, 45%)
CMYKcmyk(45.2%, 62.6%, 0%, 54.9%)
CIE-LABlab(23.74, 27.86, -38.48)
CIE-LCHlch(23.74, 47.51, 305.90°)
OKLaboklab(35.44% 0.0445 -0.1097)
OKLCHoklch(35.44% 0.118 292.1)
XYZxyz(6.0074, 4.0221, 16.6762)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B73 #5F732B
analogous
#2B3B73 #3F2B73 #632B73
triadic
#3F2B73 #733F2B #2B733F
tetradic
#3F2B73 #732B3B #5F732B #2B7363
square
#3F2B73 #732B3B #5F732B #2B7363
split-complementary
#3F2B73 #73632B #3B732B
monochromatic
#0E0A1A #271A46 #3F2B73 #573CA0 #7558C1

Accessibility & contrast

On white

11.64
#3F2B73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3F2B73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B73
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B73#FFFFFF#000000##FFFFFF
##3F2B731.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003771
Tritanopia (blue-blind)
#303B4A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3f2b73;
/* rgb */ color: rgb(63, 43, 115);
/* oklch */ color: oklch(35.4% 0.118 292.1);
Tailwind
colors: {
  custom: {
    50: '#78659c',
    500: '#3f2b73',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b73;
$custom-light: #78659c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b73",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 256.667,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3544,
    "c": 0.1184,
    "h": 292.1
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#3F2B73
secondary
#8FA555
accent
#D553B1
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09050E
muted
#7B7A7E

Preview Lab

Preview with #3F2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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