#3F0F72#3F0F72

#3F0F72 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.152 H 298.8°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#3F0F72
RGBrgb(63, 15, 114)
HSLhsl(269, 77%, 25%)
HSVhsv(269, 87%, 45%)
CMYKcmyk(44.7%, 86.8%, 0%, 55.3%)
CIE-LABlab(18.42, 42.13, -46.50)
CIE-LCHlch(18.42, 62.75, 312.17°)
OKLaboklab(31.62% 0.0732 -0.1332)
OKLCHoklch(31.62% 0.152 298.8)
XYZxyz(5.2572, 2.6132, 16.1437)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F72 #42720F
analogous
#0F1072 #3F0F72 #700F72
triadic
#3F0F72 #723F0F #0F723F
tetradic
#3F0F72 #720F10 #42720F #0F7270
square
#3F0F72 #720F10 #42720F #0F7270
split-complementary
#3F0F72 #72700F #10720F
monochromatic
#0F041B #21083C #3F0F72 #5D16A8 #7B1DDE

Accessibility & contrast

On white

13.79
#3F0F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3F0F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F72
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F72#FFFFFF#000000##FFFFFF
##3F0F721.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#322C42
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3f0f72;
/* rgb */ color: rgb(63, 15, 114);
/* oklch */ color: oklch(31.6% 0.152 298.8);
Tailwind
colors: {
  custom: {
    50: '#7a559b',
    500: '#3f0f72',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f72;
$custom-light: #7a559b;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f72",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 114
  },
  "hsl": {
    "h": 269.091,
    "s": 76.744,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31623,
    "c": 0.15196,
    "h": 298.8
  },
  "luminance": 0.02613
}

Semantic roles & 50–950 ramp

primary
#3F0F72
secondary
#70AA33
accent
#F33597
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3F0F72

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

Preview Lab → · Contrast checker → · Palette generator →

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