#3F1463#3F1463

#3F1463 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.131 H 304.4°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#3F1463
RGBrgb(63, 20, 99)
HSLhsl(273, 66%, 23%)
HSVhsv(273, 80%, 39%)
CMYKcmyk(36.4%, 79.8%, 0%, 61.2%)
CIE-LABlab(17.73, 36.20, -37.84)
CIE-LCHlch(17.73, 52.36, 313.73°)
OKLaboklab(30.71% 0.0737 -0.1078)
OKLCHoklch(30.71% 0.131 304.4)
XYZxyz(4.5517, 2.4579, 12.0366)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1463 #386314
analogous
#171463 #3F1463 #63145F
triadic
#3F1463 #633F14 #14633F
tetradic
#3F1463 #631714 #386314 #145F63
square
#3F1463 #631714 #386314 #145F63
split-complementary
#3F1463 #5F6314 #146317
monochromatic
#100519 #1F0A30 #3F1463 #5F1E96 #8029C9

Accessibility & contrast

On white

14.08
#3F1463 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F1463 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1463
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1463#FFFFFF#000000##FFFFFF
##3F14631.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#38283A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f1463;
/* rgb */ color: rgb(63, 20, 99);
/* oklch */ color: oklch(30.7% 0.131 304.4);
Tailwind
colors: {
  custom: {
    50: '#785790',
    500: '#3f1463',
    950: '#000000',
  },
}
SCSS
$custom: #3f1463;
$custom-light: #785790;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1463",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 99
  },
  "hsl": {
    "h": 272.658,
    "s": 66.387,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30705,
    "c": 0.13054,
    "h": 304.4
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#3F1463
secondary
#659A38
accent
#E93E8C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1463

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

Preview Lab → · Contrast checker → · Palette generator →

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