#3F0F66#3F0F66

#3F0F66 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.139 H 303.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#3F0F66
RGBrgb(63, 15, 102)
HSLhsl(273, 74%, 23%)
HSVhsv(273, 85%, 40%)
CMYKcmyk(38.2%, 85.3%, 0%, 60%)
CIE-LABlab(17.26, 39.08, -40.57)
CIE-LCHlch(17.26, 56.33, 313.93°)
OKLaboklab(30.46% 0.0774 -0.1158)
OKLCHoklch(30.46% 0.139 303.8)
XYZxyz(4.6184, 2.3577, 12.7796)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F66 #36660F
analogous
#130F66 #3F0F66 #660F61
triadic
#3F0F66 #663F0F #0F663F
tetradic
#3F0F66 #66130F #36660F #0F6166
square
#3F0F66 #66130F #36660F #0F6166
split-complementary
#3F0F66 #61660F #0F6613
monochromatic
#10041B #1E0731 #3F0F66 #60179B #811FD1

Accessibility & contrast

On white

14.27
#3F0F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F66
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F66#FFFFFF#000000##FFFFFF
##3F0F661.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#37273B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3f0f66;
/* rgb */ color: rgb(63, 15, 102);
/* oklch */ color: oklch(30.5% 0.139 303.8);
Tailwind
colors: {
  custom: {
    50: '#795492',
    500: '#3f0f66',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f66;
$custom-light: #795492;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f66",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 102
  },
  "hsl": {
    "h": 273.103,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30464,
    "c": 0.13926,
    "h": 303.8
  },
  "luminance": 0.02358
}

Semantic roles & 50–950 ramp

primary
#3F0F66
secondary
#639F32
accent
#F1378A
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F0F66

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

Preview Lab → · Contrast checker → · Palette generator →

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