#712A90#712A90

#712A90 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.166 H 313.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#712A90
RGBrgb(113, 42, 144)
HSLhsl(282, 55%, 36%)
HSVhsv(282, 71%, 56%)
CMYKcmyk(21.5%, 70.8%, 0%, 43.5%)
CIE-LABlab(32.21, 47.60, -42.67)
CIE-LCHlch(32.21, 63.93, 318.12°)
OKLaboklab(43.66% 0.1146 -0.1203)
OKLCHoklch(43.66% 0.166 313.6)
XYZxyz(12.6712, 7.1807, 27.0987)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A90 #49902A
analogous
#3E2A90 #712A90 #902A7C
triadic
#712A90 #90712A #2A9071
tetradic
#712A90 #903E2A #49902A #2A7C90
square
#712A90 #903E2A #49902A #2A7C90
split-complementary
#712A90 #7C902A #2A903E
monochromatic
#270E31 #4C1C61 #712A90 #9638BF #B063D1

Accessibility & contrast

On white

8.62
#712A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#712A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A90
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A90#FFFFFF#000000##FFFFFF
##712A901.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004893
Deuteranopia (green-blind)
#234D8E
Tritanopia (blue-blind)
#6E3F5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712a90;
/* rgb */ color: rgb(113, 42, 144);
/* oklch */ color: oklch(43.7% 0.166 313.6);
Tailwind
colors: {
  custom: {
    50: '#9d6ab1',
    500: '#712a90',
    950: '#000000',
  },
}
SCSS
$custom: #712a90;
$custom-light: #9d6ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#712a90",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 281.765,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.16616,
    "h": 313.6
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#712A90
secondary
#79B75E
accent
#DE4A77
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A90

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

Preview Lab → · Contrast checker → · Palette generator →

#712A90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva