#3F2283#3F2283

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

Color values

HEX#3F2283
RGBrgb(63, 34, 131)
HSLhsl(258, 59%, 32%)
HSVhsv(258, 74%, 51%)
CMYKcmyk(51.9%, 74%, 0%, 48.6%)
CIE-LABlab(23.13, 38.05, -49.63)
CIE-LCHlch(23.13, 62.54, 307.48°)
OKLaboklab(35.42% 0.0522 -0.1425)
OKLCHoklch(35.42% 0.152 290.1)
XYZxyz(6.7175, 3.8392, 21.8554)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2283 #668322
analogous
#223683 #3F2283 #702283
triadic
#3F2283 #833F22 #22833F
tetradic
#3F2283 #832236 #668322 #228370
square
#3F2283 #832236 #668322 #228370
split-complementary
#3F2283 #837022 #368322
monochromatic
#100922 #281552 #3F2283 #562FB4 #754ED1

Accessibility & contrast

On white

11.88
#3F2283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F2283
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2283#FFFFFF#000000##FFFFFF
##3F22831.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#273C50
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3f2283;
/* rgb */ color: rgb(63, 34, 131);
/* oklch */ color: oklch(35.4% 0.152 290.1);
Tailwind
colors: {
  custom: {
    50: '#7b60a8',
    500: '#3f2283',
    950: '#000000',
  },
}
SCSS
$custom: #3f2283;
$custom-light: #7b60a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2283",
  "rgb": {
    "r": 63,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 257.938,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35418,
    "c": 0.15174,
    "h": 290.1
  },
  "luminance": 0.0384
}

Semantic roles & 50–950 ramp

primary
#3F2283
secondary
#95B44C
accent
#E246B3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3F2283

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

Preview Lab → · Contrast checker → · Palette generator →

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