#3F1253#3F1253

#3F1253 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 29.1% C 0.115 H 313.2°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#3F1253
RGBrgb(63, 18, 83)
HSLhsl(282, 64%, 20%)
HSVhsv(282, 78%, 33%)
CMYKcmyk(24.1%, 78.3%, 0%, 67.5%)
CIE-LABlab(16.07, 33.13, -29.80)
CIE-LCHlch(16.07, 44.56, 318.02°)
OKLaboklab(29.12% 0.079 -0.0841)
OKLCHoklch(29.12% 0.115 313.2)
XYZxyz(3.8273, 2.1140, 8.3884)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1253 #265312
analogous
#1E1253 #3F1253 #531247
triadic
#3F1253 #533F12 #12533F
tetradic
#3F1253 #531E12 #265312 #124753
square
#3F1253 #531E12 #265312 #124753
split-complementary
#3F1253 #475312 #12531E
monochromatic
#130519 #190721 #3F1253 #651D85 #8B28B8

Accessibility & contrast

On white

14.76
#3F1253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1253
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1253#FFFFFF#000000##FFFFFF
##3F12531.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f1253;
/* rgb */ color: rgb(63, 18, 83);
/* oklch */ color: oklch(29.1% 0.115 313.2);
Tailwind
colors: {
  custom: {
    50: '#775584',
    500: '#3f1253',
    950: '#000000',
  },
}
SCSS
$custom: #3f1253;
$custom-light: #775584;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1253",
  "rgb": {
    "r": 63,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 281.538,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29118,
    "c": 0.11539,
    "h": 313.2
  },
  "luminance": 0.02114
}

Semantic roles & 50–950 ramp

primary
#3F1253
secondary
#508C35
accent
#E74074
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1253

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

Preview Lab → · Contrast checker → · Palette generator →

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