#3F1963#3F1963

#3F1963 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.3% C 0.124 H 303.4°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#3F1963
RGBrgb(63, 25, 99)
HSLhsl(271, 60%, 24%)
HSVhsv(271, 75%, 39%)
CMYKcmyk(36.4%, 74.7%, 0%, 61.2%)
CIE-LABlab(18.60, 33.74, -36.42)
CIE-LCHlch(18.60, 49.65, 312.81°)
OKLaboklab(31.32% 0.0683 -0.1036)
OKLCHoklch(31.32% 0.124 303.4)
XYZxyz(4.6491, 2.6529, 12.0691)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1963 #3D6319
analogous
#1A1963 #3F1963 #631962
triadic
#3F1963 #633F19 #19633F
tetradic
#3F1963 #631A19 #3D6319 #196263
square
#3F1963 #631A19 #3D6319 #196263
split-complementary
#3F1963 #626319 #19631A
monochromatic
#100618 #200D32 #3F1963 #5E2594 #7D32C5

Accessibility & contrast

On white

13.72
#3F1963 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3F1963 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1963
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1963#FFFFFF#000000##FFFFFF
##3F19631.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#382A3C
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f1963;
/* rgb */ color: rgb(63, 25, 99);
/* oklch */ color: oklch(31.3% 0.124 303.4);
Tailwind
colors: {
  custom: {
    50: '#785990',
    500: '#3f1963',
    950: '#000000',
  },
}
SCSS
$custom: #3f1963;
$custom-light: #785990;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1963",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 99
  },
  "hsl": {
    "h": 270.811,
    "s": 59.677,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3132,
    "c": 0.1241,
    "h": 303.4
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#3F1963
secondary
#6B993F
accent
#E34592
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09040C
muted
#7B797D

Preview Lab

Preview with #3F1963

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

Preview Lab → · Contrast checker → · Palette generator →

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