#3F1269#3F1269

#3F1269 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.139 H 302.0°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#3F1269
RGBrgb(63, 18, 105)
HSLhsl(271, 71%, 24%)
HSVhsv(271, 83%, 41%)
CMYKcmyk(40%, 82.9%, 0%, 58.8%)
CIE-LABlab(17.96, 38.63, -41.40)
CIE-LCHlch(17.96, 56.63, 313.02°)
OKLaboklab(31.04% 0.0739 -0.1182)
OKLCHoklch(31.04% 0.139 302)
XYZxyz(4.8154, 2.5093, 13.5925)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1269 #3C6912
analogous
#131269 #3F1269 #691268
triadic
#3F1269 #693F12 #12693F
tetradic
#3F1269 #691312 #3C6912 #126869
square
#3F1269 #691312 #3C6912 #126869
split-complementary
#3F1269 #686912 #126913
monochromatic
#10041A #200935 #3F1269 #5E1B9D #7E24D1

Accessibility & contrast

On white

13.98
#3F1269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3F1269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1269
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1269#FFFFFF#000000##FFFFFF
##3F12691.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6B
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#36293D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3f1269;
/* rgb */ color: rgb(63, 18, 105);
/* oklch */ color: oklch(31.0% 0.139 302.0);
Tailwind
colors: {
  custom: {
    50: '#795695',
    500: '#3f1269',
    950: '#000000',
  },
}
SCSS
$custom: #3f1269;
$custom-light: #795695;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1269",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 105
  },
  "hsl": {
    "h": 271.034,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31036,
    "c": 0.13943,
    "h": 302
  },
  "luminance": 0.02509
}

Semantic roles & 50–950 ramp

primary
#3F1269
secondary
#6AA136
accent
#ED3A91
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3F1269

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

Preview Lab → · Contrast checker → · Palette generator →

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