#3F2083#3F2083

#3F2083 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.154 H 290.5°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#3F2083
RGBrgb(63, 32, 131)
HSLhsl(259, 61%, 32%)
HSVhsv(259, 76%, 51%)
CMYKcmyk(51.9%, 75.6%, 0%, 48.6%)
CIE-LABlab(22.75, 39.12, -50.26)
CIE-LCHlch(22.75, 63.69, 307.90°)
OKLaboklab(35.15% 0.054 -0.1443)
OKLCHoklch(35.15% 0.154 290.5)
XYZxyz(6.6620, 3.7282, 21.8369)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2083 #648320
analogous
#203383 #3F2083 #712083
triadic
#3F2083 #833F20 #20833F
tetradic
#3F2083 #832033 #648320 #208371
square
#3F2083 #832033 #648320 #208371
split-complementary
#3F2083 #837120 #338320
monochromatic
#100821 #271452 #3F2083 #572CB4 #754AD3

Accessibility & contrast

On white

12.03
#3F2083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3F2083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2083
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2083#FFFFFF#000000##FFFFFF
##3F20831.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#273B4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2083;
/* rgb */ color: rgb(63, 32, 131);
/* oklch */ color: oklch(35.1% 0.154 290.5);
Tailwind
colors: {
  custom: {
    50: '#7c5fa8',
    500: '#3f2083',
    950: '#000000',
  },
}
SCSS
$custom: #3f2083;
$custom-light: #7c5fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2083",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 131
  },
  "hsl": {
    "h": 258.788,
    "s": 60.736,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35149,
    "c": 0.15408,
    "h": 290.5
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#3F2083
secondary
#94B649
accent
#E444B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2083

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

Preview Lab → · Contrast checker → · Palette generator →

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