#712180#712180

#712180 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.162 H 320.8°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#712180
RGBrgb(113, 33, 128)
HSLhsl(291, 59%, 32%)
HSVhsv(291, 74%, 50%)
CMYKcmyk(11.7%, 74.2%, 0%, 49.8%)
CIE-LABlab(29.81, 48.05, -36.60)
CIE-LCHlch(29.81, 60.40, 322.70°)
OKLaboklab(41.6% 0.1257 -0.1024)
OKLCHoklch(41.6% 0.162 320.8)
XYZxyz(11.2497, 6.1575, 21.0139)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712180 #308021
analogous
#422180 #712180 #802160
triadic
#712180 #807121 #218071
tetradic
#712180 #804221 #308021 #216080
square
#712180 #804221 #308021 #216080
split-complementary
#712180 #608021 #218042
monochromatic
#1B081F #46144F #712180 #9C2EB1 #BB4BD1

Accessibility & contrast

On white

9.41
#712180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#712180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712180
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712180#FFFFFF#000000##FFFFFF
##7121801.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#2B497E
Tritanopia (blue-blind)
#72334E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #712180;
/* rgb */ color: rgb(113, 33, 128);
/* oklch */ color: oklch(41.6% 0.162 320.8);
Tailwind
colors: {
  custom: {
    50: '#9d65a5',
    500: '#712180',
    950: '#000000',
  },
}
SCSS
$custom: #712180;
$custom-light: #9d65a5;
$custom-dark: #000000;
JSON
{
  "hex": "#712180",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 290.526,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.16217,
    "h": 320.8
  },
  "luminance": 0.06157
}

Semantic roles & 50–950 ramp

primary
#712180
secondary
#5BB34A
accent
#E2465E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #712180

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

Preview Lab → · Contrast checker → · Palette generator →

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