#3F0C5F#3F0C5F

#3F0C5F is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.5% C 0.135 H 307.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#3F0C5F
RGBrgb(63, 12, 95)
HSLhsl(277, 78%, 21%)
HSVhsv(277, 87%, 37%)
CMYKcmyk(33.7%, 87.4%, 0%, 62.7%)
CIE-LABlab(16.24, 38.47, -37.61)
CIE-LCHlch(16.24, 53.80, 315.65°)
OKLaboklab(29.55% 0.0821 -0.107)
OKLCHoklch(29.55% 0.135 307.5)
XYZxyz(4.2465, 2.1460, 11.0148)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0C5F #2C5F0C
analogous
#150C5F #3F0C5F #5F0C55
triadic
#3F0C5F #5F3F0C #0C5F3F
tetradic
#3F0C5F #5F150C #2C5F0C #0C555F
square
#3F0C5F #5F150C #2C5F0C #0C555F
split-complementary
#3F0C5F #555F0C #0C5F15
monochromatic
#12031B #1B0529 #3F0C5F #631395 #871ACC

Accessibility & contrast

On white

14.69
#3F0C5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#3F0C5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0C5F
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0C5F#FFFFFF#000000##FFFFFF
##3F0C5F1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002761
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#3A2337
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0c5f;
/* rgb */ color: rgb(63, 12, 95);
/* oklch */ color: oklch(29.5% 0.135 307.5);
Tailwind
colors: {
  custom: {
    50: '#78538d',
    500: '#3f0c5f',
    950: '#000000',
  },
}
SCSS
$custom: #3f0c5f;
$custom-light: #78538d;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0c5f",
  "rgb": {
    "r": 63,
    "g": 12,
    "b": 95
  },
  "hsl": {
    "h": 276.867,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29549,
    "c": 0.13486,
    "h": 307.5
  },
  "luminance": 0.02146
}

Semantic roles & 50–950 ramp

primary
#3F0C5F
secondary
#57992D
accent
#F4347E
background
#F7F4F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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