#3F2B83#3F2B83

#3F2B83 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.8% C 0.140 H 287.9°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#3F2B83
RGBrgb(63, 43, 131)
HSLhsl(254, 51%, 34%)
HSVhsv(254, 67%, 51%)
CMYKcmyk(51.9%, 67.2%, 0%, 48.6%)
CIE-LABlab(25.02, 32.85, -46.55)
CIE-LCHlch(25.02, 56.97, 305.22°)
OKLaboklab(36.77% 0.0431 -0.1335)
OKLCHoklch(36.77% 0.14 287.9)
XYZxyz(7.0093, 4.4229, 21.9527)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2B83 #6F832B
analogous
#2B4383 #3F2B83 #6B2B83
triadic
#3F2B83 #833F2B #2B833F
tetradic
#3F2B83 #832B43 #6F832B #2B836B
square
#3F2B83 #832B43 #6F832B #2B836B
split-complementary
#3F2B83 #836B2B #43832B
monochromatic
#130D27 #291C55 #3F2B83 #553AB1 #775ECA

Accessibility & contrast

On white

11.14
#3F2B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3F2B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2B83
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2B83#FFFFFF#000000##FFFFFF
##3F2B831.0011.141.8811.14
#FFFFFF11.141.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#274153
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3f2b83;
/* rgb */ color: rgb(63, 43, 131);
/* oklch */ color: oklch(36.8% 0.140 287.9);
Tailwind
colors: {
  custom: {
    50: '#7b66a8',
    500: '#3f2b83',
    950: '#000000',
  },
}
SCSS
$custom: #3f2b83;
$custom-light: #7b66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2b83",
  "rgb": {
    "r": 63,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 253.636,
    "s": 50.575,
    "l": 34.118
  },
  "oklch": {
    "l": 0.36773,
    "c": 0.14024,
    "h": 287.9
  },
  "luminance": 0.04423
}

Semantic roles & 50–950 ramp

primary
#3F2B83
secondary
#9CB05A
accent
#DA4EBA
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2B83

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

Preview Lab → · Contrast checker → · Palette generator →

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