#3F2082#3F2082

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

Color values

HEX#3F2082
RGBrgb(63, 32, 130)
HSLhsl(259, 60%, 32%)
HSVhsv(259, 75%, 51%)
CMYKcmyk(51.5%, 75.4%, 0%, 49%)
CIE-LABlab(22.66, 38.83, -49.78)
CIE-LCHlch(22.66, 63.13, 307.95°)
OKLaboklab(35.05% 0.0542 -0.1429)
OKLCHoklch(35.05% 0.153 290.8)
XYZxyz(6.5945, 3.7012, 21.4817)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2082 #638220
analogous
#203282 #3F2082 #702082
triadic
#3F2082 #823F20 #20823F
tetradic
#3F2082 #822032 #638220 #208270
square
#3F2082 #822032 #638220 #208270
split-complementary
#3F2082 #827020 #328220
monochromatic
#0F0820 #271451 #3F2082 #572CB3 #754AD2

Accessibility & contrast

On white

12.07
#3F2082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3F2082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2082
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2082#FFFFFF#000000##FFFFFF
##3F20821.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003885
Deuteranopia (green-blind)
#003480
Tritanopia (blue-blind)
#283A4F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3f2082;
/* rgb */ color: rgb(63, 32, 130);
/* oklch */ color: oklch(35.1% 0.153 290.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fa7',
    500: '#3f2082',
    950: '#000000',
  },
}
SCSS
$custom: #3f2082;
$custom-light: #7b5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2082",
  "rgb": {
    "r": 63,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 258.98,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35054,
    "c": 0.15286,
    "h": 290.8
  },
  "luminance": 0.03701
}

Semantic roles & 50–950 ramp

primary
#3F2082
secondary
#93B549
accent
#E444B1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2082

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

Preview Lab → · Contrast checker → · Palette generator →

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