#3F1468#3F1468

#3F1468 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.136 H 302.1°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#3F1468
RGBrgb(63, 20, 104)
HSLhsl(271, 68%, 24%)
HSVhsv(271, 81%, 41%)
CMYKcmyk(39.4%, 80.8%, 0%, 59.2%)
CIE-LABlab(18.17, 37.50, -40.40)
CIE-LCHlch(18.17, 55.12, 312.86°)
OKLaboklab(31.16% 0.0724 -0.1153)
OKLCHoklch(31.16% 0.136 302.1)
XYZxyz(4.7981, 2.5565, 13.3347)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1468 #3D6814
analogous
#151468 #3F1468 #681467
triadic
#3F1468 #683F14 #14683F
tetradic
#3F1468 #681514 #3D6814 #146768
square
#3F1468 #681514 #3D6814 #146768
split-complementary
#3F1468 #676814 #146815
monochromatic
#10051A #200A35 #3F1468 #5E1E9B #7D28CF

Accessibility & contrast

On white

13.89
#3F1468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#3F1468 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1468
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1468#FFFFFF#000000##FFFFFF
##3F14681.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002C66
Tritanopia (blue-blind)
#362A3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1468;
/* rgb */ color: rgb(63, 20, 104);
/* oklch */ color: oklch(31.2% 0.136 302.1);
Tailwind
colors: {
  custom: {
    50: '#795794',
    500: '#3f1468',
    950: '#000000',
  },
}
SCSS
$custom: #3f1468;
$custom-light: #795794;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1468",
  "rgb": {
    "r": 63,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 270.714,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31156,
    "c": 0.13613,
    "h": 302.1
  },
  "luminance": 0.02557
}

Semantic roles & 50–950 ramp

primary
#3F1468
secondary
#6B9F39
accent
#EB3D92
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1468

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

Preview Lab → · Contrast checker → · Palette generator →

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