#3F1968#3F1968

#3F1968 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.130 H 301.2°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#3F1968
RGBrgb(63, 25, 104)
HSLhsl(269, 61%, 25%)
HSVhsv(269, 76%, 41%)
CMYKcmyk(39.4%, 76%, 0%, 59.2%)
CIE-LABlab(19.02, 35.09, -39.02)
CIE-LCHlch(19.02, 52.48, 311.96°)
OKLaboklab(31.75% 0.0673 -0.1113)
OKLCHoklch(31.75% 0.13 301.2)
XYZxyz(4.8956, 2.7515, 13.3672)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1968 #426819
analogous
#191A68 #3F1968 #661968
triadic
#3F1968 #683F19 #19683F
tetradic
#3F1968 #68191A #426819 #196866
square
#3F1968 #68191A #426819 #196866
split-complementary
#3F1968 #686619 #1A6819
monochromatic
#0F0619 #210D37 #3F1968 #5D2599 #7B31CB

Accessibility & contrast

On white

13.55
#3F1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1968
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1968#FFFFFF#000000##FFFFFF
##3F19681.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1968;
/* rgb */ color: rgb(63, 25, 104);
/* oklch */ color: oklch(31.8% 0.130 301.2);
Tailwind
colors: {
  custom: {
    50: '#785994',
    500: '#3f1968',
    950: '#000000',
  },
}
SCSS
$custom: #3f1968;
$custom-light: #785994;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1968",
  "rgb": {
    "r": 63,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 268.861,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31753,
    "c": 0.13004,
    "h": 301.2
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#3F1968
secondary
#709E3F
accent
#E44397
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09040D
muted
#7B797E

Preview Lab

Preview with #3F1968

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

Preview Lab → · Contrast checker → · Palette generator →

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