#3F1763#3F1763

#3F1763 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.127 H 303.8°. Best body text is #FFFFFF at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#3F1763
RGBrgb(63, 23, 99)
HSLhsl(272, 62%, 24%)
HSVhsv(272, 77%, 39%)
CMYKcmyk(36.4%, 76.8%, 0%, 61.2%)
CIE-LABlab(18.23, 34.76, -37.01)
CIE-LCHlch(18.23, 50.77, 313.20°)
OKLaboklab(31.06% 0.0705 -0.1054)
OKLCHoklch(31.06% 0.127 303.8)
XYZxyz(4.6079, 2.5704, 12.0553)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1763 #3B6317
analogous
#191763 #3F1763 #631761
triadic
#3F1763 #633F17 #17633F
tetradic
#3F1763 #631917 #3B6317 #176163
square
#3F1763 #631917 #3B6317 #176163
split-complementary
#3F1763 #616317 #176319
monochromatic
#100619 #1F0B31 #3F1763 #5F2395 #7E2EC6

Accessibility & contrast

On white

13.87
#3F1763 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3F1763 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1763
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1763#FFFFFF#000000##FFFFFF
##3F17631.0013.871.5113.87
#FFFFFF13.871.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002C61
Tritanopia (blue-blind)
#38293B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1763;
/* rgb */ color: rgb(63, 23, 99);
/* oklch */ color: oklch(31.1% 0.127 303.8);
Tailwind
colors: {
  custom: {
    50: '#785890',
    500: '#3f1763',
    950: '#000000',
  },
}
SCSS
$custom: #3f1763;
$custom-light: #785890;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1763",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 99
  },
  "hsl": {
    "h": 271.579,
    "s": 62.295,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31063,
    "c": 0.12677,
    "h": 303.8
  },
  "luminance": 0.0257
}

Semantic roles & 50–950 ramp

primary
#3F1763
secondary
#689A3C
accent
#E54290
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F1763

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

Preview Lab → · Contrast checker → · Palette generator →

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