#3F2086#3F2086

#3F2086 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.4% C 0.158 H 289.7°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#3F2086
RGBrgb(63, 32, 134)
HSLhsl(258, 61%, 33%)
HSVhsv(258, 76%, 53%)
CMYKcmyk(53%, 76.1%, 0%, 47.5%)
CIE-LABlab(23.04, 40.00, -51.68)
CIE-LCHlch(23.04, 65.35, 307.74°)
OKLaboklab(35.44% 0.0532 -0.1485)
OKLCHoklch(35.44% 0.158 289.7)
XYZxyz(6.8682, 3.8107, 22.9233)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2086 #678620
analogous
#203486 #3F2086 #722086
triadic
#3F2086 #863F20 #20863F
tetradic
#3F2086 #862034 #678620 #208672
square
#3F2086 #862034 #678620 #208672
split-complementary
#3F2086 #867220 #348620
monochromatic
#110823 #281455 #3F2086 #562CB7 #764CD4

Accessibility & contrast

On white

11.92
#3F2086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3F2086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2086
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2086#FFFFFF#000000##FFFFFF
##3F20861.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#253C51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2086;
/* rgb */ color: rgb(63, 32, 134);
/* oklch */ color: oklch(35.4% 0.158 289.7);
Tailwind
colors: {
  custom: {
    50: '#7c5faa',
    500: '#3f2086',
    950: '#000000',
  },
}
SCSS
$custom: #3f2086;
$custom-light: #7c5faa;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2086",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 258.235,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35436,
    "c": 0.15772,
    "h": 289.7
  },
  "luminance": 0.03811
}

Semantic roles & 50–950 ramp

primary
#3F2086
secondary
#96B74B
accent
#E543B4
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2086

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

Preview Lab → · Contrast checker → · Palette generator →

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