#3F0F69#3F0F69

#3F0F69 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.142 H 302.5°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#3F0F69
RGBrgb(63, 15, 105)
HSLhsl(272, 75%, 24%)
HSVhsv(272, 86%, 41%)
CMYKcmyk(40%, 85.7%, 0%, 58.8%)
CIE-LABlab(17.55, 39.84, -42.08)
CIE-LCHlch(17.55, 57.95, 313.43°)
OKLaboklab(30.75% 0.0764 -0.1202)
OKLCHoklch(30.75% 0.142 302.5)
XYZxyz(4.7699, 2.4183, 13.5773)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F0F69 #39690F
analogous
#120F69 #3F0F69 #690F66
triadic
#3F0F69 #693F0F #0F693F
tetradic
#3F0F69 #69120F #39690F #0F6669
square
#3F0F69 #69120F #39690F #0F6669
split-complementary
#3F0F69 #66690F #0F6912
monochromatic
#10041B #1F0733 #3F0F69 #5F179F #7F1ED4

Accessibility & contrast

On white

14.15
#3F0F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3F0F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F0F69
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F0F69#FFFFFF#000000##FFFFFF
##3F0F691.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6B
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#36283D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3f0f69;
/* rgb */ color: rgb(63, 15, 105);
/* oklch */ color: oklch(30.7% 0.142 302.5);
Tailwind
colors: {
  custom: {
    50: '#795595',
    500: '#3f0f69',
    950: '#000000',
  },
}
SCSS
$custom: #3f0f69;
$custom-light: #795595;
$custom-dark: #000000;
JSON
{
  "hex": "#3f0f69",
  "rgb": {
    "r": 63,
    "g": 15,
    "b": 105
  },
  "hsl": {
    "h": 272,
    "s": 75,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30747,
    "c": 0.14243,
    "h": 302.5
  },
  "luminance": 0.02418
}

Semantic roles & 50–950 ramp

primary
#3F0F69
secondary
#66A132
accent
#F2368E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030D
muted
#7C787E

Preview Lab

Preview with #3F0F69

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

Preview Lab → · Contrast checker → · Palette generator →

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