#3F0E5C#3F0E5C

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

Color values

HEX#3F0E5C
RGBrgb(63, 14, 92)
HSLhsl(278, 74%, 21%)
HSVhsv(278, 85%, 36%)
CMYKcmyk(31.5%, 84.8%, 0%, 63.9%)
CIE-LABlab(16.22, 37.01, -35.63)
CIE-LCHlch(16.22, 51.37, 316.09°)
OKLaboklab(29.46% 0.0812 -0.1012)
OKLCHoklch(29.46% 0.13 308.7)
XYZxyz(4.1383, 2.1436, 10.3189)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0E5C #2B5C0E
analogous
#180E5C #3F0E5C #5C0E52
triadic
#3F0E5C #5C3F0E #0E5C3F
tetradic
#3F0E5C #5C180E #2B5C0E #0E525C
square
#3F0E5C #5C180E #2B5C0E #0E525C
split-complementary
#3F0E5C #525C0E #0E5C18
monochromatic
#12041B #1B0627 #3F0E5C #631691 #881EC6

Accessibility & contrast

On white

14.70
#3F0E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0E5C
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0E5C#FFFFFF#000000##FFFFFF
##3F0E5C1.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.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: #3f0e5c;
/* rgb */ color: rgb(63, 14, 92);
/* oklch */ color: oklch(29.5% 0.130 308.7);
Tailwind
colors: {
  custom: {
    50: '#78538b',
    500: '#3f0e5c',
    950: '#000000',
  },
}
SCSS
$custom: #3f0e5c;
$custom-light: #78538b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0e5c",
  "rgb": {
    "r": 63,
    "g": 14,
    "b": 92
  },
  "hsl": {
    "h": 277.692,
    "s": 73.585,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29458,
    "c": 0.12978,
    "h": 308.7
  },
  "luminance": 0.02144
}

Semantic roles & 50–950 ramp

primary
#3F0E5C
secondary
#569630
accent
#F0387C
background
#F7F5F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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