#3F0F5E#3F0F5E

#3F0F5E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.131 H 307.6°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#3F0F5E
RGBrgb(63, 15, 94)
HSLhsl(276, 72%, 21%)
HSVhsv(276, 84%, 37%)
CMYKcmyk(33%, 84%, 0%, 63.1%)
CIE-LABlab(16.54, 37.10, -36.45)
CIE-LCHlch(16.54, 52.01, 315.50°)
OKLaboklab(29.73% 0.0798 -0.1037)
OKLCHoklch(29.73% 0.131 307.6)
XYZxyz(4.2407, 2.2066, 10.7900)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F5E #2E5E0F
analogous
#180F5E #3F0F5E #5E0F56
triadic
#3F0F5E #5E3F0F #0F5E3F
tetradic
#3F0F5E #5E180F #2E5E0F #0F565E
square
#3F0F5E #5E180F #2E5E0F #0F565E
split-complementary
#3F0F5E #565E0F #0F5E18
monochromatic
#12041A #1C0729 #3F0F5E #621793 #8620C8

Accessibility & contrast

On white

14.57
#3F0F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3F0F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F5E
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F5E#FFFFFF#000000##FFFFFF
##3F0F5E1.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0f5e;
/* rgb */ color: rgb(63, 15, 94);
/* oklch */ color: oklch(29.7% 0.131 307.6);
Tailwind
colors: {
  custom: {
    50: '#78548c',
    500: '#3f0f5e',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f5e;
$custom-light: #78548c;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f5e",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 276.456,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29731,
    "c": 0.13081,
    "h": 307.6
  },
  "luminance": 0.02207
}

Semantic roles & 50–950 ramp

primary
#3F0F5E
secondary
#599731
accent
#EF3980
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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