#3F1E63#3F1E63

#3F1E63 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 32.0% C 0.117 H 302.2°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#3F1E63
RGBrgb(63, 30, 99)
HSLhsl(269, 53%, 25%)
HSVhsv(269, 70%, 39%)
CMYKcmyk(36.4%, 69.7%, 0%, 61.2%)
CIE-LABlab(19.58, 31.01, -34.83)
CIE-LCHlch(19.58, 46.63, 311.68°)
OKLaboklab(32.03% 0.0622 -0.099)
OKLCHoklch(32.03% 0.117 302.2)
XYZxyz(4.7658, 2.8861, 12.1080)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1E63 #42631E
analogous
#1E1F63 #3F1E63 #611E63
triadic
#3F1E63 #633F1E #1E633F
tetradic
#3F1E63 #631E1F #42631E #1E6361
square
#3F1E63 #631E1F #42631E #1E6361
split-complementary
#3F1E63 #63611E #1F631E
monochromatic
#0F0717 #211034 #3F1E63 #5D2C92 #7B3AC1

Accessibility & contrast

On white

13.31
#3F1E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3F1E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1E63
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1E63#FFFFFF#000000##FFFFFF
##3F1E631.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#032F62
Tritanopia (blue-blind)
#382D3D
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3f1e63;
/* rgb */ color: rgb(63, 30, 99);
/* oklch */ color: oklch(32.0% 0.117 302.2);
Tailwind
colors: {
  custom: {
    50: '#775c90',
    500: '#3f1e63',
    950: '#000000',
  },
}
SCSS
$custom: #3f1e63;
$custom-light: #775c90;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1e63",
  "rgb": {
    "r": 63,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 268.696,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32026,
    "c": 0.1169,
    "h": 302.2
  },
  "luminance": 0.02886
}

Semantic roles & 50–950 ramp

primary
#3F1E63
secondary
#709845
accent
#DD4B97
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F1E63

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

Preview Lab → · Contrast checker → · Palette generator →

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