#712287#712287

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

Color values

HEX#712287
RGBrgb(113, 34, 135)
HSLhsl(287, 60%, 33%)
HSVhsv(287, 75%, 53%)
CMYKcmyk(16.3%, 74.8%, 0%, 47.1%)
CIE-LABlab(30.41, 49.06, -40.01)
CIE-LCHlch(30.41, 63.31, 320.81°)
OKLaboklab(42.18% 0.1241 -0.1124)
OKLCHoklch(42.18% 0.167 317.8)
XYZxyz(11.7546, 6.4046, 23.5340)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712287 #388722
analogous
#3F2287 #712287 #87226A
triadic
#712287 #877122 #228771
tetradic
#712287 #873F22 #388722 #226A87
square
#712287 #873F22 #388722 #226A87
split-complementary
#712287 #6A8722 #22873F
monochromatic
#1F0925 #481656 #712287 #9A2EB8 #B750D3

Accessibility & contrast

On white

9.21
#712287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712287
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712287#FFFFFF#000000##FFFFFF
##7122871.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#264A85
Tritanopia (blue-blind)
#703753
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712287;
/* rgb */ color: rgb(113, 34, 135);
/* oklch */ color: oklch(42.2% 0.167 317.8);
Tailwind
colors: {
  custom: {
    50: '#9d66aa',
    500: '#712287',
    950: '#000000',
  },
}
SCSS
$custom: #712287;
$custom-light: #9d66aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712287",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 286.931,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.16744,
    "h": 317.8
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#712287
secondary
#65B74E
accent
#E34567
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712287

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

Preview Lab → · Contrast checker → · Palette generator →

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