#3F2382#3F2382

#3F2382 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.5% C 0.149 H 290.2°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#3F2382
RGBrgb(63, 35, 130)
HSLhsl(258, 58%, 32%)
HSVhsv(258, 73%, 51%)
CMYKcmyk(51.5%, 73.1%, 0%, 49%)
CIE-LABlab(23.24, 37.20, -48.83)
CIE-LCHlch(23.24, 61.39, 307.30°)
OKLaboklab(35.47% 0.0514 -0.1401)
OKLCHoklch(35.47% 0.149 290.2)
XYZxyz(6.6790, 3.8703, 21.5099)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2382 #668223
analogous
#233782 #3F2382 #6E2382
triadic
#3F2382 #823F23 #23823F
tetradic
#3F2382 #822337 #668223 #23826E
square
#3F2382 #822337 #668223 #23826E
split-complementary
#3F2382 #826E23 #378223
monochromatic
#100922 #281652 #3F2382 #5630B2 #7550D0

Accessibility & contrast

On white

11.84
#3F2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#3F2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2382
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2382#FFFFFF#000000##FFFFFF
##3F23821.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003985
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#283C50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2382;
/* rgb */ color: rgb(63, 35, 130);
/* oklch */ color: oklch(35.5% 0.149 290.2);
Tailwind
colors: {
  custom: {
    50: '#7b60a7',
    500: '#3f2382',
    950: '#000000',
  },
}
SCSS
$custom: #3f2382;
$custom-light: #7b60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2382",
  "rgb": {
    "r": 63,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 257.684,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35465,
    "c": 0.14928,
    "h": 290.2
  },
  "luminance": 0.03871
}

Semantic roles & 50–950 ramp

primary
#3F2382
secondary
#95B34D
accent
#E147B3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2382

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

Preview Lab → · Contrast checker → · Palette generator →

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