#3F2085#3F2085

#3F2085 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.157 H 290.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#3F2085
RGBrgb(63, 32, 133)
HSLhsl(258, 61%, 32%)
HSVhsv(258, 76%, 52%)
CMYKcmyk(52.6%, 75.9%, 0%, 47.8%)
CIE-LABlab(22.94, 39.71, -51.20)
CIE-LCHlch(22.94, 64.80, 307.79°)
OKLaboklab(35.34% 0.0535 -0.1471)
OKLCHoklch(35.34% 0.157 290)
XYZxyz(6.7988, 3.7829, 22.5577)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2085 #668520
analogous
#203385 #3F2085 #722085
triadic
#3F2085 #853F20 #20853F
tetradic
#3F2085 #852033 #668520 #208572
square
#3F2085 #852033 #668520 #208572
split-complementary
#3F2085 #857220 #338520
monochromatic
#100822 #281454 #3F2085 #562CB6 #754CD4

Accessibility & contrast

On white

11.95
#3F2085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2085
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2085#FFFFFF#000000##FFFFFF
##3F20851.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003988
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#263B51
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2085;
/* rgb */ color: rgb(63, 32, 133);
/* oklch */ color: oklch(35.3% 0.157 290.0);
Tailwind
colors: {
  custom: {
    50: '#7c5fa9',
    500: '#3f2085',
    950: '#000000',
  },
}
SCSS
$custom: #3f2085;
$custom-light: #7c5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2085",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 258.416,
    "s": 61.212,
    "l": 32.353
  },
  "oklch": {
    "l": 0.3534,
    "c": 0.15651,
    "h": 290
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#3F2085
secondary
#95B74A
accent
#E443B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2085

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

Preview Lab → · Contrast checker → · Palette generator →

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