#3F1867#3F1867

#3F1867 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.130 H 301.8°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#3F1867
RGBrgb(63, 24, 103)
HSLhsl(270, 62%, 25%)
HSVhsv(270, 77%, 40%)
CMYKcmyk(38.8%, 76.7%, 0%, 59.6%)
CIE-LABlab(18.75, 35.32, -38.80)
CIE-LCHlch(18.75, 52.47, 312.31°)
OKLaboklab(31.54% 0.0686 -0.1106)
OKLCHoklch(31.54% 0.13 301.8)
XYZxyz(4.8241, 2.6893, 13.0943)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1867 #406718
analogous
#181967 #3F1867 #671867
triadic
#3F1867 #673F18 #18673F
tetradic
#3F1867 #671819 #406718 #186767
square
#3F1867 #671819 #406718 #186767
split-complementary
#3F1867 #676718 #196718
monochromatic
#0F0619 #210C35 #3F1867 #5D2499 #7C2FCA

Accessibility & contrast

On white

13.66
#3F1867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#3F1867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1867
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1867#FFFFFF#000000##FFFFFF
##3F18671.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#362B3E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1867;
/* rgb */ color: rgb(63, 24, 103);
/* oklch */ color: oklch(31.5% 0.130 301.8);
Tailwind
colors: {
  custom: {
    50: '#785993',
    500: '#3f1867',
    950: '#000000',
  },
}
SCSS
$custom: #3f1867;
$custom-light: #785993;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1867",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 269.62,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.31538,
    "c": 0.13015,
    "h": 301.8
  },
  "luminance": 0.02689
}

Semantic roles & 50–950 ramp

primary
#3F1867
secondary
#6E9D3E
accent
#E54395
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F1867

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

Preview Lab → · Contrast checker → · Palette generator →

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