#3F2983#3F2983

#3F2983 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.5% C 0.143 H 288.5°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#3F2983
RGBrgb(63, 41, 131)
HSLhsl(255, 52%, 34%)
HSVhsv(255, 69%, 51%)
CMYKcmyk(51.9%, 68.7%, 0%, 48.6%)
CIE-LABlab(24.58, 34.06, -47.27)
CIE-LCHlch(24.58, 58.26, 305.77°)
OKLaboklab(36.45% 0.0452 -0.1356)
OKLCHoklch(36.45% 0.143 288.5)
XYZxyz(6.9384, 4.2810, 21.9291)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F2983 #6D8329
analogous
#294083 #3F2983 #6C2983
triadic
#3F2983 #833F29 #29833F
tetradic
#3F2983 #832940 #6D8329 #29836C
square
#3F2983 #832940 #6D8329 #29836C
split-complementary
#3F2983 #836C29 #408329
monochromatic
#120C26 #291A54 #3F2983 #5538B2 #765BCC

Accessibility & contrast

On white

11.31
#3F2983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#3F2983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F2983
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F2983#FFFFFF#000000##FFFFFF
##3F29831.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C86
Deuteranopia (green-blind)
#003881
Tritanopia (blue-blind)
#273F52
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3f2983;
/* rgb */ color: rgb(63, 41, 131);
/* oklch */ color: oklch(36.5% 0.143 288.5);
Tailwind
colors: {
  custom: {
    50: '#7b64a8',
    500: '#3f2983',
    950: '#000000',
  },
}
SCSS
$custom: #3f2983;
$custom-light: #7b64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f2983",
  "rgb": {
    "r": 63,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 254.667,
    "s": 52.326,
    "l": 33.725
  },
  "oklch": {
    "l": 0.36453,
    "c": 0.14292,
    "h": 288.5
  },
  "luminance": 0.04281
}

Semantic roles & 50–950 ramp

primary
#3F2983
secondary
#9BB157
accent
#DC4CB9
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0510
muted
#7C7A7F

Preview Lab

Preview with #3F2983

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

Preview Lab → · Contrast checker → · Palette generator →

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