#3F0E6A#3F0E6A

#3F0E6A is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.144 H 302.2°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#3F0E6A
RGBrgb(63, 14, 106)
HSLhsl(272, 77%, 24%)
HSVhsv(272, 87%, 42%)
CMYKcmyk(40.6%, 86.8%, 0%, 58.4%)
CIE-LABlab(17.51, 40.46, -42.79)
CIE-LCHlch(17.51, 58.89, 313.40°)
OKLaboklab(30.75% 0.0769 -0.1223)
OKLCHoklch(30.75% 0.144 302.2)
XYZxyz(4.8078, 2.4114, 13.8450)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E6A #396A0E
analogous
#110E6A #3F0E6A #6A0E67
triadic
#3F0E6A #6A3F0E #0E6A3F
tetradic
#3F0E6A #6A110E #396A0E #0E676A
square
#3F0E6A #6A110E #396A0E #0E676A
split-complementary
#3F0E6A #676A0E #0E6A11
monochromatic
#10041B #1F0734 #3F0E6A #5F15A0 #7F1CD6

Accessibility & contrast

On white

14.17
#3F0E6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3F0E6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0E6A
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E6A#FFFFFF#000000##FFFFFF
##3F0E6A1.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6C
Deuteranopia (green-blind)
#002B68
Tritanopia (blue-blind)
#36283D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f0e6a;
/* rgb */ color: rgb(63, 14, 106);
/* oklch */ color: oklch(30.8% 0.144 302.2);
Tailwind
colors: {
  custom: {
    50: '#795495',
    500: '#3f0e6a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e6a;
$custom-light: #795495;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e6a",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 106
  },
  "hsl": {
    "h": 271.957,
    "s": 76.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30754,
    "c": 0.14441,
    "h": 302.2
  },
  "luminance": 0.02411
}

Semantic roles & 50–950 ramp

primary
#3F0E6A
secondary
#66A331
accent
#F3358E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F0E6A

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

Preview Lab → · Contrast checker → · Palette generator →

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