#3F1764#3F1764

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

Color values

HEX#3F1764
RGBrgb(63, 23, 100)
HSLhsl(271, 63%, 24%)
HSVhsv(271, 77%, 39%)
CMYKcmyk(37%, 77%, 0%, 60.8%)
CIE-LABlab(18.32, 35.02, -37.53)
CIE-LCHlch(18.32, 51.33, 313.02°)
OKLaboklab(31.15% 0.0703 -0.1069)
OKLCHoklch(31.15% 0.128 303.3)
XYZxyz(4.6560, 2.5897, 12.3087)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1764 #3C6417
analogous
#191764 #3F1764 #641763
triadic
#3F1764 #643F17 #17643F
tetradic
#3F1764 #641917 #3C6417 #176364
square
#3F1764 #641917 #3C6417 #176364
split-complementary
#3F1764 #636417 #176419
monochromatic
#100619 #200C32 #3F1764 #5E2296 #7E2EC8

Accessibility & contrast

On white

13.83
#3F1764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F1764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1764
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1764#FFFFFF#000000##FFFFFF
##3F17641.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1764;
/* rgb */ color: rgb(63, 23, 100);
/* oklch */ color: oklch(31.1% 0.128 303.3);
Tailwind
colors: {
  custom: {
    50: '#785891',
    500: '#3f1764',
    950: '#000000',
  },
}
SCSS
$custom: #3f1764;
$custom-light: #785891;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1764",
  "rgb": {
    "r": 63,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 271.169,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3115,
    "c": 0.12793,
    "h": 303.3
  },
  "luminance": 0.0259
}

Semantic roles & 50–950 ramp

primary
#3F1764
secondary
#6A9A3C
accent
#E64291
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3F1764

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

Preview Lab → · Contrast checker → · Palette generator →

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