#3F2F83#3F2F83

#3F2F83 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.4% C 0.135 H 286.7°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#3F2F83
RGBrgb(63, 47, 131)
HSLhsl(251, 47%, 35%)
HSVhsv(251, 64%, 51%)
CMYKcmyk(51.9%, 64.1%, 0%, 48.6%)
CIE-LABlab(25.95, 30.39, -45.05)
CIE-LCHlch(25.95, 54.34, 304.00°)
OKLaboklab(37.44% 0.0387 -0.129)
OKLCHoklch(37.44% 0.135 286.7)
XYZxyz(7.1619, 4.7281, 22.0036)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2F83 #73832F
analogous
#2F4983 #3F2F83 #692F83
triadic
#3F2F83 #833F2F #2F833F
tetradic
#3F2F83 #832F49 #73832F #2F8369
square
#3F2F83 #832F49 #73832F #2F8369
split-complementary
#3F2F83 #83692F #49832F
monochromatic
#140F29 #291F56 #3F2F83 #553FB0 #7865C8

Accessibility & contrast

On white

10.79
#3F2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#3F2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2F83
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2F83#FFFFFF#000000##FFFFFF
##3F2F831.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#264354
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3f2f83;
/* rgb */ color: rgb(63, 47, 131);
/* oklch */ color: oklch(37.4% 0.135 286.7);
Tailwind
colors: {
  custom: {
    50: '#7a68a8',
    500: '#3f2f83',
    950: '#000000',
  },
}
SCSS
$custom: #3f2f83;
$custom-light: #7a68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2f83",
  "rgb": {
    "r": 63,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 251.429,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37443,
    "c": 0.13473,
    "h": 286.7
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

primary
#3F2F83
secondary
#9FAF5F
accent
#D751BD
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3F2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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