#3F0F68#3F0F68

#3F0F68 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.141 H 302.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3F0F68
RGBrgb(63, 15, 104)
HSLhsl(272, 75%, 23%)
HSVhsv(272, 86%, 41%)
CMYKcmyk(39.4%, 85.6%, 0%, 59.2%)
CIE-LABlab(17.45, 39.58, -41.58)
CIE-LCHlch(17.45, 57.41, 313.59°)
OKLaboklab(30.65% 0.0768 -0.1187)
OKLCHoklch(30.65% 0.141 302.9)
XYZxyz(4.7188, 2.3979, 13.3083)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F68 #38680F
analogous
#130F68 #3F0F68 #680F64
triadic
#3F0F68 #683F0F #0F683F
tetradic
#3F0F68 #68130F #38680F #0F6468
square
#3F0F68 #68130F #38680F #0F6468
split-complementary
#3F0F68 #64680F #0F6813
monochromatic
#10041B #1F0733 #3F0F68 #5F179D #801ED3

Accessibility & contrast

On white

14.19
#3F0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F68
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F68#FFFFFF#000000##FFFFFF
##3F0F681.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0f68;
/* rgb */ color: rgb(63, 15, 104);
/* oklch */ color: oklch(30.7% 0.141 302.9);
Tailwind
colors: {
  custom: {
    50: '#795594',
    500: '#3f0f68',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f68;
$custom-light: #795594;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f68",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 272.36,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30652,
    "c": 0.14137,
    "h": 302.9
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#3F0F68
secondary
#65A132
accent
#F1368D
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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