#612271#612271

#612271 is a dark, vivid purple. Relative luminance 0.049; OKLCH L 38.3% C 0.139 H 318.8°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#612271
RGBrgb(97, 34, 113)
HSLhsl(288, 54%, 29%)
HSVhsv(288, 70%, 44%)
CMYKcmyk(14.2%, 69.9%, 0%, 55.7%)
CIE-LABlab(26.38, 40.75, -32.71)
CIE-LCHlch(26.38, 52.25, 321.24°)
OKLaboklab(38.31% 0.1048 -0.0916)
OKLCHoklch(38.31% 0.139 318.8)
XYZxyz(8.4820, 4.8781, 16.1144)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#612271 #327122
analogous
#3A2271 #612271 #71225A
triadic
#612271 #716122 #227161
tetradic
#612271 #713A22 #327122 #225A71
square
#612271 #713A22 #327122 #225A71
split-complementary
#612271 #5A7122 #22713A
monochromatic
#140718 #391442 #612271 #8930A0 #AD46C7

Accessibility & contrast

On white

10.63
#612271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#612271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #612271
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##612271#FFFFFF#000000##FFFFFF
##6122711.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#27416F
Tritanopia (blue-blind)
#613046
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #612271;
/* rgb */ color: rgb(97, 34, 113);
/* oklch */ color: oklch(38.3% 0.139 318.8);
Tailwind
colors: {
  custom: {
    50: '#91639a',
    500: '#612271',
    950: '#000000',
  },
}
SCSS
$custom: #612271;
$custom-light: #91639a;
$custom-dark: #000000;
JSON
{
  "hex": "#612271",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 113
  },
  "hsl": {
    "h": 287.848,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.38308,
    "c": 0.13916,
    "h": 318.8
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#612271
secondary
#5DA44A
accent
#DD4B68
background
#F9F6F9
surface
#F1EBF2
border
#CBC6CC
text
#0D050E
muted
#7E7A7E

Preview Lab

Preview with #612271

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

Preview Lab → · Contrast checker → · Palette generator →

#612271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva