#3F0F5F#3F0F5F

#3F0F5F is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.8% C 0.132 H 307.1°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#3F0F5F
RGBrgb(63, 15, 95)
HSLhsl(276, 73%, 22%)
HSVhsv(276, 84%, 37%)
CMYKcmyk(33.7%, 84.2%, 0%, 62.7%)
CIE-LABlab(16.62, 37.34, -36.98)
CIE-LCHlch(16.62, 52.55, 315.28°)
OKLaboklab(29.82% 0.0795 -0.1052)
OKLCHoklch(29.82% 0.132 307.1)
XYZxyz(4.2858, 2.2247, 11.0279)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F5F #2F5F0F
analogous
#170F5F #3F0F5F #5F0F57
triadic
#3F0F5F #5F3F0F #0F5F3F
tetradic
#3F0F5F #5F170F #2F5F0F #0F575F
square
#3F0F5F #5F170F #2F5F0F #0F575F
split-complementary
#3F0F5F #575F0F #0F5F17
monochromatic
#12041A #1C072A #3F0F5F #621794 #8520C9

Accessibility & contrast

On white

14.53
#3F0F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3F0F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F5F
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F5F#FFFFFF#000000##FFFFFF
##3F0F5F1.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002861
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#392437
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3f0f5f;
/* rgb */ color: rgb(63, 15, 95);
/* oklch */ color: oklch(29.8% 0.132 307.1);
Tailwind
colors: {
  custom: {
    50: '#78548d',
    500: '#3f0f5f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f5f;
$custom-light: #78548d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f5f",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 276,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.29821,
    "c": 0.13185,
    "h": 307.1
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#3F0F5F
secondary
#5B9832
accent
#EF3882
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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