#3F1055#3F1055

#3F1055 is a dark, vivid purple. Relative luminance 0.021; OKLCH L 29.1% C 0.120 H 312.3°. Best body text is #FFFFFF at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#3F1055
RGBrgb(63, 16, 85)
HSLhsl(281, 68%, 20%)
HSVhsv(281, 81%, 33%)
CMYKcmyk(25.9%, 81.2%, 0%, 66.7%)
CIE-LABlab(15.92, 34.50, -31.41)
CIE-LCHlch(15.92, 46.66, 317.69°)
OKLaboklab(29.06% 0.0809 -0.0888)
OKLCHoklch(29.06% 0.12 312.3)
XYZxyz(3.8746, 2.0833, 8.7906)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F1055 #265510
analogous
#1D1055 #3F1055 #551048
triadic
#3F1055 #553F10 #10553F
tetradic
#3F1055 #551D10 #265510 #104855
square
#3F1055 #551D10 #265510 #104855
split-complementary
#3F1055 #485510 #10551D
monochromatic
#13051A #190621 #3F1055 #651A89 #8B23BC

Accessibility & contrast

On white

14.82
#3F1055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F1055
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F1055#FFFFFF#000000##FFFFFF
##3F10551.0014.821.4214.82
#FFFFFF14.821.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#072954
Tritanopia (blue-blind)
#3C2032
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3f1055;
/* rgb */ color: rgb(63, 16, 85);
/* oklch */ color: oklch(29.1% 0.120 312.3);
Tailwind
colors: {
  custom: {
    50: '#775485',
    500: '#3f1055',
    950: '#000000',
  },
}
SCSS
$custom: #3f1055;
$custom-light: #775485;
$custom-dark: #000000;
JSON
{
  "hex": "#3f1055",
  "rgb": {
    "r": 63,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 280.87,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.29057,
    "c": 0.12013,
    "h": 312.3
  },
  "luminance": 0.02083
}

Semantic roles & 50–950 ramp

primary
#3F1055
secondary
#508F32
accent
#EB3D74
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3F1055

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

Preview Lab → · Contrast checker → · Palette generator →

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