#712286#712286

#712286 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.167 H 318.2°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#712286
RGBrgb(113, 34, 134)
HSLhsl(287, 60%, 33%)
HSVhsv(287, 75%, 53%)
CMYKcmyk(15.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(30.34, 48.86, -39.49)
CIE-LCHlch(30.34, 62.83, 321.05°)
OKLaboklab(42.11% 0.1242 -0.1109)
OKLCHoklch(42.11% 0.167 318.2)
XYZxyz(11.6846, 6.3765, 23.1649)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712286 #378622
analogous
#3F2286 #712286 #862269
triadic
#712286 #867122 #228671
tetradic
#712286 #863F22 #378622 #226986
square
#712286 #863F22 #378622 #226986
split-complementary
#712286 #698622 #22863F
monochromatic
#1F0924 #481655 #712286 #9A2EB7 #B750D3

Accessibility & contrast

On white

9.23
#712286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#712286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712286
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712286#FFFFFF#000000##FFFFFF
##7122861.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004289
Deuteranopia (green-blind)
#274A84
Tritanopia (blue-blind)
#703652
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712286;
/* rgb */ color: rgb(113, 34, 134);
/* oklch */ color: oklch(42.1% 0.167 318.2);
Tailwind
colors: {
  custom: {
    50: '#9d65aa',
    500: '#712286',
    950: '#000000',
  },
}
SCSS
$custom: #712286;
$custom-light: #9d65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712286",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 287.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42105,
    "c": 0.16651,
    "h": 318.2
  },
  "luminance": 0.06376
}

Semantic roles & 50–950 ramp

primary
#712286
secondary
#64B64E
accent
#E34566
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712286

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

Preview Lab → · Contrast checker → · Palette generator →

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