#3F0E68#3F0E68

#3F0E68 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.142 H 303.0°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#3F0E68
RGBrgb(63, 14, 104)
HSLhsl(273, 76%, 23%)
HSVhsv(273, 87%, 41%)
CMYKcmyk(39.4%, 86.5%, 0%, 59.2%)
CIE-LABlab(17.32, 39.96, -41.79)
CIE-LCHlch(17.32, 57.82, 313.72°)
OKLaboklab(30.56% 0.0775 -0.1193)
OKLCHoklch(30.56% 0.142 303)
XYZxyz(4.7050, 2.3703, 13.3037)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E68 #37680E
analogous
#120E68 #3F0E68 #680E64
triadic
#3F0E68 #683F0E #0E683F
tetradic
#3F0E68 #68120E #37680E #0E6468
square
#3F0E68 #68120E #37680E #0E6468
split-complementary
#3F0E68 #64680E #0E6812
monochromatic
#10041B #1E0732 #3F0E68 #60159E #801DD4

Accessibility & contrast

On white

14.25
#3F0E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E68
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E68#FFFFFF#000000##FFFFFF
##3F0E681.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#36273C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f0e68;
/* rgb */ color: rgb(63, 14, 104);
/* oklch */ color: oklch(30.6% 0.142 303.0);
Tailwind
colors: {
  custom: {
    50: '#795494',
    500: '#3f0e68',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e68;
$custom-light: #795494;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e68",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 104
  },
  "hsl": {
    "h": 272.667,
    "s": 76.271,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30563,
    "c": 0.14232,
    "h": 303
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#3F0E68
secondary
#64A131
accent
#F3358B
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F0E68

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

Preview Lab → · Contrast checker → · Palette generator →

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