#3F1964#3F1964

#3F1964 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.4% C 0.125 H 302.9°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#3F1964
RGBrgb(63, 25, 100)
HSLhsl(270, 60%, 25%)
HSVhsv(270, 75%, 39%)
CMYKcmyk(37%, 75%, 0%, 60.8%)
CIE-LABlab(18.68, 34.00, -36.95)
CIE-LCHlch(18.68, 50.21, 312.62°)
OKLaboklab(31.41% 0.0681 -0.1052)
OKLCHoklch(31.41% 0.125 302.9)
XYZxyz(4.6972, 2.6721, 12.3224)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1964 #3E6419
analogous
#1A1964 #3F1964 #641964
triadic
#3F1964 #643F19 #19643F
tetradic
#3F1964 #641A19 #3E6419 #196464
square
#3F1964 #641A19 #3E6419 #196464
split-complementary
#3F1964 #646419 #19641A
monochromatic
#0F0618 #200D33 #3F1964 #5E2595 #7D31C6

Accessibility & contrast

On white

13.69
#3F1964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1964
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1964#FFFFFF#000000##FFFFFF
##3F19641.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1964;
/* rgb */ color: rgb(63, 25, 100);
/* oklch */ color: oklch(31.4% 0.125 302.9);
Tailwind
colors: {
  custom: {
    50: '#785991',
    500: '#3f1964',
    950: '#000000',
  },
}
SCSS
$custom: #3f1964;
$custom-light: #785991;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1964",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 270.4,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31406,
    "c": 0.12529,
    "h": 302.9
  },
  "luminance": 0.02672
}

Semantic roles & 50–950 ramp

primary
#3F1964
secondary
#6C9A3F
accent
#E34593
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09040D
muted
#7B797D

Preview Lab

Preview with #3F1964

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

Preview Lab → · Contrast checker → · Palette generator →

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