#3F1869#3F1869

#3F1869 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.7% C 0.132 H 300.9°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).

Color values

HEX#3F1869
RGBrgb(63, 24, 105)
HSLhsl(269, 63%, 25%)
HSVhsv(269, 77%, 41%)
CMYKcmyk(40%, 77.1%, 0%, 58.8%)
CIE-LABlab(18.93, 35.86, -39.83)
CIE-LCHlch(18.93, 53.59, 312.00°)
OKLaboklab(31.72% 0.0681 -0.1136)
OKLCHoklch(31.72% 0.132 300.9)
XYZxyz(4.9257, 2.7299, 13.6293)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1869 #426918
analogous
#181969 #3F1869 #671869
triadic
#3F1869 #693F18 #18693F
tetradic
#3F1869 #691819 #426918 #186967
square
#3F1869 #691819 #426918 #186967
split-complementary
#3F1869 #696718 #196918
monochromatic
#0F0619 #210D37 #3F1869 #5D239B #7B2FCD

Accessibility & contrast

On white

13.58
#3F1869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#3F1869 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1869
13.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1869#FFFFFF#000000##FFFFFF
##3F18691.0013.581.5513.58
#FFFFFF13.581.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6B
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#362C3F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #3f1869;
/* rgb */ color: rgb(63, 24, 105);
/* oklch */ color: oklch(31.7% 0.132 300.9);
Tailwind
colors: {
  custom: {
    50: '#795995',
    500: '#3f1869',
    950: '#000000',
  },
}
SCSS
$custom: #3f1869;
$custom-light: #795995;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1869",
  "rgb": {
    "r": 63,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 268.889,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31716,
    "c": 0.13249,
    "h": 300.9
  },
  "luminance": 0.0273
}

Semantic roles & 50–950 ramp

primary
#3F1869
secondary
#709F3E
accent
#E64297
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F1869

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

Preview Lab → · Contrast checker → · Palette generator →

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