#3F0F5C#3F0F5C

#3F0F5C is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.129 H 308.6°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#3F0F5C
RGBrgb(63, 15, 92)
HSLhsl(277, 72%, 21%)
HSVhsv(277, 84%, 36%)
CMYKcmyk(31.5%, 83.7%, 0%, 63.9%)
CIE-LABlab(16.36, 36.61, -35.40)
CIE-LCHlch(16.36, 50.93, 315.96°)
OKLaboklab(29.55% 0.0803 -0.1006)
OKLCHoklch(29.55% 0.129 308.6)
XYZxyz(4.1521, 2.1712, 10.3235)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F5C #2C5C0F
analogous
#180F5C #3F0F5C #5C0F52
triadic
#3F0F5C #5C3F0F #0F5C3F
tetradic
#3F0F5C #5C180F #2C5C0F #0F525C
square
#3F0F5C #5C180F #2C5C0F #0F525C
split-complementary
#3F0F5C #525C0F #0F5C18
monochromatic
#12041A #1B0627 #3F0F5C #631891 #8720C5

Accessibility & contrast

On white

14.64
#3F0F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F0F5C
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F5C#FFFFFF#000000##FFFFFF
##3F0F5C1.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f0f5c;
/* rgb */ color: rgb(63, 15, 92);
/* oklch */ color: oklch(29.6% 0.129 308.6);
Tailwind
colors: {
  custom: {
    50: '#78548b',
    500: '#3f0f5c',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f5c;
$custom-light: #78548b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f5c",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 277.403,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.29554,
    "c": 0.1287,
    "h": 308.6
  },
  "luminance": 0.02171
}

Semantic roles & 50–950 ramp

primary
#3F0F5C
secondary
#579531
accent
#EF397D
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3F0F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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