#712270#712270

#712270 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.147 H 328.4°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#712270
RGBrgb(113, 34, 112)
HSLhsl(301, 54%, 29%)
HSVhsv(301, 70%, 44%)
CMYKcmyk(0%, 69.9%, 0.9%, 55.7%)
CIE-LABlab(28.97, 44.61, -27.81)
CIE-LCHlch(28.97, 52.56, 328.06°)
OKLaboklab(40.68% 0.1248 -0.0768)
OKLCHoklch(40.68% 0.147 328.4)
XYZxyz(10.3066, 5.8253, 15.9076)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712270 #227123
analogous
#4B2271 #712270 #712249
triadic
#712270 #707122 #227071
tetradic
#712270 #714B22 #227123 #224971
square
#712270 #714B22 #227123 #224971
split-complementary
#712270 #497122 #22714B
monochromatic
#180717 #421441 #712270 #A0309F #C746C6

Accessibility & contrast

On white

9.70
#712270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#712270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712270
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712270#FFFFFF#000000##FFFFFF
##7122701.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E72
Deuteranopia (green-blind)
#36486E
Tritanopia (blue-blind)
#752D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #712270;
/* rgb */ color: rgb(113, 34, 112);
/* oklch */ color: oklch(40.7% 0.147 328.4);
Tailwind
colors: {
  custom: {
    50: '#9d6599',
    500: '#712270',
    950: '#000000',
  },
}
SCSS
$custom: #712270;
$custom-light: #9d6599;
$custom-dark: #000000;
JSON
{
  "hex": "#712270",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 300.759,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40677,
    "c": 0.14658,
    "h": 328.4
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#712270
secondary
#4AA44C
accent
#DD4D4B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712270

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

Preview Lab → · Contrast checker → · Palette generator →

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