#3F1150#3F1150

#3F1150 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.8% C 0.114 H 315.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#3F1150
RGBrgb(63, 17, 80)
HSLhsl(284, 65%, 19%)
HSVhsv(284, 79%, 31%)
CMYKcmyk(21.2%, 78.8%, 0%, 68.6%)
CIE-LABlab(15.68, 32.87, -28.39)
CIE-LCHlch(15.68, 43.44, 319.18°)
OKLaboklab(28.76% 0.0805 -0.08)
OKLCHoklch(28.76% 0.114 315.2)
XYZxyz(3.6981, 2.0370, 7.7862)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1150 #225011
analogous
#201150 #3F1150 #501142
triadic
#3F1150 #503F11 #11503F
tetradic
#3F1150 #502011 #225011 #114250
square
#3F1150 #502011 #225011 #114250
split-complementary
#3F1150 #425011 #115020
monochromatic
#140519 #17061E #3F1150 #671C82 #8E26B5

Accessibility & contrast

On white

14.92
#3F1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3F1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1150
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1150#FFFFFF#000000##FFFFFF
##3F11501.0014.921.4114.92
#FFFFFF14.921.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#0F284F
Tritanopia (blue-blind)
#3E1E2F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3f1150;
/* rgb */ color: rgb(63, 17, 80);
/* oklch */ color: oklch(28.8% 0.114 315.2);
Tailwind
colors: {
  custom: {
    50: '#775481',
    500: '#3f1150',
    950: '#000000',
  },
}
SCSS
$custom: #3f1150;
$custom-light: #775481;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1150",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 283.81,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28763,
    "c": 0.11351,
    "h": 315.2
  },
  "luminance": 0.02037
}

Semantic roles & 50–950 ramp

primary
#3F1150
secondary
#4B8933
accent
#E8406D
background
#F7F5F7
surface
#EDE9EE
border
#C8C5C9
text
#09030A
muted
#7B787C

Preview Lab

Preview with #3F1150

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

Preview Lab → · Contrast checker → · Palette generator →

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