#3F0F6A#3F0F6A

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

Color values

HEX#3F0F6A
RGBrgb(63, 15, 106)
HSLhsl(272, 75%, 24%)
HSVhsv(272, 86%, 42%)
CMYKcmyk(40.6%, 85.8%, 0%, 58.4%)
CIE-LABlab(17.64, 40.09, -42.58)
CIE-LCHlch(17.64, 58.48, 313.27°)
OKLaboklab(30.84% 0.0761 -0.1217)
OKLCHoklch(30.84% 0.144 302)
XYZxyz(4.8216, 2.4390, 13.8496)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F6A #3A6A0F
analogous
#110F6A #3F0F6A #6A0F67
triadic
#3F0F6A #6A3F0F #0F6A3F
tetradic
#3F0F6A #6A110F #3A6A0F #0F676A
square
#3F0F6A #6A110F #3A6A0F #0F676A
split-complementary
#3F0F6A #676A0F #0F6A11
monochromatic
#10041B #1F0734 #3F0F6A #5F17A0 #7F1ED5

Accessibility & contrast

On white

14.11
#3F0F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3F0F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F6A
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F6A#FFFFFF#000000##FFFFFF
##3F0F6A1.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0f6a;
/* rgb */ color: rgb(63, 15, 106);
/* oklch */ color: oklch(30.8% 0.143 302.0);
Tailwind
colors: {
  custom: {
    50: '#795595',
    500: '#3f0f6a',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f6a;
$custom-light: #795595;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f6a",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 106
  },
  "hsl": {
    "h": 271.648,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30842,
    "c": 0.1435,
    "h": 302
  },
  "luminance": 0.02439
}

Semantic roles & 50–950 ramp

primary
#3F0F6A
secondary
#67A232
accent
#F2368F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F0F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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