#3F0F5D#3F0F5D

#3F0F5D is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.130 H 308.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#3F0F5D
RGBrgb(63, 15, 93)
HSLhsl(277, 72%, 21%)
HSVhsv(277, 84%, 36%)
CMYKcmyk(32.3%, 83.9%, 0%, 63.5%)
CIE-LABlab(16.45, 36.85, -35.93)
CIE-LCHlch(16.45, 51.47, 315.73°)
OKLaboklab(29.64% 0.08 -0.1021)
OKLCHoklch(29.64% 0.13 308.1)
XYZxyz(4.1961, 2.1888, 10.5552)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F5D #2D5D0F
analogous
#180F5D #3F0F5D #5D0F54
triadic
#3F0F5D #5D3F0F #0F5D3F
tetradic
#3F0F5D #5D180F #2D5D0F #0F545D
square
#3F0F5D #5D180F #2D5D0F #0F545D
split-complementary
#3F0F5D #545D0F #0F5D18
monochromatic
#12041A #1B0628 #3F0F5D #631792 #8620C6

Accessibility & contrast

On white

14.61
#3F0F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F0F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F5D
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F5D#FFFFFF#000000##FFFFFF
##3F0F5D1.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275F
Deuteranopia (green-blind)
#00295B
Tritanopia (blue-blind)
#3A2336
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f0f5d;
/* rgb */ color: rgb(63, 15, 93);
/* oklch */ color: oklch(29.6% 0.130 308.1);
Tailwind
colors: {
  custom: {
    50: '#78548c',
    500: '#3f0f5d',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f5d;
$custom-light: #78548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f5d",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 276.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.29642,
    "c": 0.12975,
    "h": 308.1
  },
  "luminance": 0.02189
}

Semantic roles & 50–950 ramp

primary
#3F0F5D
secondary
#589631
accent
#EF397F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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