#3F1064#3F1064

#3F1064 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.4% C 0.136 H 304.5°. Best body text is #FFFFFF at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#3F1064
RGBrgb(63, 16, 100)
HSLhsl(274, 72%, 23%)
HSVhsv(274, 84%, 39%)
CMYKcmyk(37%, 84%, 0%, 60.8%)
CIE-LABlab(17.21, 38.18, -39.33)
CIE-LCHlch(17.21, 54.82, 314.15°)
OKLaboklab(30.37% 0.0772 -0.1121)
OKLCHoklch(30.37% 0.136 304.5)
XYZxyz(4.5349, 2.3475, 12.2683)
Luminance0.0235 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1064 #356410
analogous
#151064 #3F1064 #64105F
triadic
#3F1064 #643F10 #10643F
tetradic
#3F1064 #641510 #356410 #105F64
square
#3F1064 #641510 #356410 #105F64
split-complementary
#3F1064 #5F6410 #106415
monochromatic
#11041A #1E082F #3F1064 #601899 #8121CE

Accessibility & contrast

On white

14.29
#3F1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3F1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1064
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1064#FFFFFF#000000##FFFFFF
##3F10641.0014.291.4714.29
#FFFFFF14.291.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#38263A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f1064;
/* rgb */ color: rgb(63, 16, 100);
/* oklch */ color: oklch(30.4% 0.136 304.5);
Tailwind
colors: {
  custom: {
    50: '#795591',
    500: '#3f1064',
    950: '#000000',
  },
}
SCSS
$custom: #3f1064;
$custom-light: #795591;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1064",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 273.571,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30373,
    "c": 0.13612,
    "h": 304.5
  },
  "luminance": 0.02347
}

Semantic roles & 50–950 ramp

primary
#3F1064
secondary
#629D33
accent
#EF3989
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1064

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

Preview Lab → · Contrast checker → · Palette generator →

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