#3F0D5E#3F0D5E

#3F0D5E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.133 H 307.8°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#3F0D5E
RGBrgb(63, 13, 94)
HSLhsl(277, 76%, 21%)
HSVhsv(277, 86%, 37%)
CMYKcmyk(33%, 86.2%, 0%, 63.1%)
CIE-LABlab(16.27, 37.87, -36.89)
CIE-LCHlch(16.27, 52.87, 315.75°)
OKLaboklab(29.55% 0.0815 -0.1049)
OKLCHoklch(29.55% 0.133 307.8)
XYZxyz(4.2138, 2.1528, 10.7811)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0D5E #2C5E0D
analogous
#160D5E #3F0D5E #5E0D54
triadic
#3F0D5E #5E3F0D #0D5E3F
tetradic
#3F0D5E #5E160D #2C5E0D #0D545E
square
#3F0D5E #5E160D #2C5E0D #0D545E
split-complementary
#3F0D5E #545E0D #0D5E16
monochromatic
#12041B #1B0628 #3F0D5E #631494 #871CCA

Accessibility & contrast

On white

14.68
#3F0D5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0D5E
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0D5E#FFFFFF#000000##FFFFFF
##3F0D5E1.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002760
Deuteranopia (green-blind)
#00295C
Tritanopia (blue-blind)
#3A2236
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f0d5e;
/* rgb */ color: rgb(63, 13, 94);
/* oklch */ color: oklch(29.5% 0.133 307.8);
Tailwind
colors: {
  custom: {
    50: '#78538c',
    500: '#3f0d5e',
    950: '#000000',
  },
}
SCSS
$custom: #3f0d5e;
$custom-light: #78538c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0d5e",
  "rgb": {
    "r": 63,
    "g": 13,
    "b": 94
  },
  "hsl": {
    "h": 277.037,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29545,
    "c": 0.13287,
    "h": 307.8
  },
  "luminance": 0.02153
}

Semantic roles & 50–950 ramp

primary
#3F0D5E
secondary
#57982F
accent
#F2367E
background
#F7F5F8
surface
#EEE8F0
border
#C9C4CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0D5E

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

Preview Lab → · Contrast checker → · Palette generator →

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