#3F1153#3F1153

#3F1153 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.0% C 0.117 H 313.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#3F1153
RGBrgb(63, 17, 83)
HSLhsl(282, 66%, 20%)
HSVhsv(282, 80%, 33%)
CMYKcmyk(24.1%, 79.5%, 0%, 67.5%)
CIE-LABlab(15.91, 33.58, -30.06)
CIE-LCHlch(15.91, 45.07, 318.17°)
OKLaboklab(29% 0.0801 -0.0849)
OKLCHoklch(29% 0.117 313.3)
XYZxyz(3.8114, 2.0823, 8.3831)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1153 #255311
analogous
#1E1153 #3F1153 #531146
triadic
#3F1153 #533F11 #11533F
tetradic
#3F1153 #531E11 #255311 #114653
square
#3F1153 #531E11 #255311 #114653
split-complementary
#3F1153 #465311 #11531E
monochromatic
#130519 #180720 #3F1153 #661B86 #8C26B9

Accessibility & contrast

On white

14.83
#3F1153 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3F1153 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F1153
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1153#FFFFFF#000000##FFFFFF
##3F11531.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#0B2952
Tritanopia (blue-blind)
#3D2031
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1153;
/* rgb */ color: rgb(63, 17, 83);
/* oklch */ color: oklch(29.0% 0.117 313.3);
Tailwind
colors: {
  custom: {
    50: '#775484',
    500: '#3f1153',
    950: '#000000',
  },
}
SCSS
$custom: #3f1153;
$custom-light: #775484;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1153",
  "rgb": {
    "r": 63,
    "g": 17,
    "b": 83
  },
  "hsl": {
    "h": 281.818,
    "s": 66,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29003,
    "c": 0.11672,
    "h": 313.3
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#3F1153
secondary
#4E8C34
accent
#E93F72
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1153

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

Preview Lab → · Contrast checker → · Palette generator →

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