#3F0D5C#3F0D5C

#3F0D5C is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.131 H 308.9°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#3F0D5C
RGBrgb(63, 13, 92)
HSLhsl(278, 75%, 21%)
HSVhsv(278, 86%, 36%)
CMYKcmyk(31.5%, 85.9%, 0%, 63.9%)
CIE-LABlab(16.09, 37.39, -35.84)
CIE-LCHlch(16.09, 51.79, 316.21°)
OKLaboklab(29.37% 0.0821 -0.1018)
OKLCHoklch(29.37% 0.131 308.9)
XYZxyz(4.1252, 2.1174, 10.3145)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D5C #2A5C0D
analogous
#180D5C #3F0D5C #5C0D51
triadic
#3F0D5C #5C3F0D #0D5C3F
tetradic
#3F0D5C #5C180D #2A5C0D #0D515C
square
#3F0D5C #5C180D #2A5C0D #0D515C
split-complementary
#3F0D5C #515C0D #0D5C18
monochromatic
#12041B #1A0526 #3F0D5C #641592 #881CC7

Accessibility & contrast

On white

14.75
#3F0D5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F0D5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0D5C
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D5C#FFFFFF#000000##FFFFFF
##3F0D5C1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265E
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#3A2235
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0d5c;
/* rgb */ color: rgb(63, 13, 92);
/* oklch */ color: oklch(29.4% 0.131 308.9);
Tailwind
colors: {
  custom: {
    50: '#78538b',
    500: '#3f0d5c',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d5c;
$custom-light: #78538b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d5c",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 92
  },
  "hsl": {
    "h": 277.975,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.29365,
    "c": 0.13081,
    "h": 308.9
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#3F0D5C
secondary
#55962F
accent
#F2367B
background
#F7F4F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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