#3F2182#3F2182

#3F2182 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.152 H 290.6°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#3F2182
RGBrgb(63, 33, 130)
HSLhsl(259, 60%, 32%)
HSVhsv(259, 75%, 51%)
CMYKcmyk(51.5%, 74.6%, 0%, 49%)
CIE-LABlab(22.85, 38.29, -49.47)
CIE-LCHlch(22.85, 62.56, 307.74°)
OKLaboklab(35.19% 0.0533 -0.142)
OKLCHoklch(35.19% 0.152 290.6)
XYZxyz(6.6219, 3.7559, 21.4908)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2182 #648221
analogous
#213382 #3F2182 #702182
triadic
#3F2182 #823F21 #21823F
tetradic
#3F2182 #822133 #648221 #218270
square
#3F2182 #822133 #648221 #218270
split-complementary
#3F2182 #827021 #338221
monochromatic
#100820 #271551 #3F2182 #572DB3 #754CD2

Accessibility & contrast

On white

11.99
#3F2182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2182
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2182#FFFFFF#000000##FFFFFF
##3F21821.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f2182;
/* rgb */ color: rgb(63, 33, 130);
/* oklch */ color: oklch(35.2% 0.152 290.6);
Tailwind
colors: {
  custom: {
    50: '#7b5fa7',
    500: '#3f2182',
    950: '#000000',
  },
}
SCSS
$custom: #3f2182;
$custom-light: #7b5fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2182",
  "rgb": {
    "r": 63,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 258.557,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35188,
    "c": 0.15168,
    "h": 290.6
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#3F2182
secondary
#94B44A
accent
#E345B2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2182

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

Preview Lab → · Contrast checker → · Palette generator →

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