#712268#712268

#712268 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.2% C 0.140 H 332.7°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#712268
RGBrgb(113, 34, 104)
HSLhsl(307, 54%, 29%)
HSVhsv(307, 70%, 44%)
CMYKcmyk(0%, 69.9%, 8%, 55.7%)
CIE-LABlab(28.52, 43.18, -23.37)
CIE-LCHlch(28.52, 49.10, 331.58°)
OKLaboklab(40.21% 0.1242 -0.064)
OKLCHoklch(40.21% 0.14 332.7)
XYZxyz(9.8808, 5.6550, 13.6651)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712268 #22712B
analogous
#532271 #712268 #712241
triadic
#712268 #687122 #226871
tetradic
#712268 #715322 #22712B #224171
square
#712268 #715322 #22712B #224171
split-complementary
#712268 #417122 #227153
monochromatic
#180716 #42143D #712268 #A03093 #C746B9

Accessibility & contrast

On white

9.86
#712268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#712268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712268
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712268#FFFFFF#000000##FFFFFF
##7122681.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3C6A
Deuteranopia (green-blind)
#3A4766
Tritanopia (blue-blind)
#762942
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #712268;
/* rgb */ color: rgb(113, 34, 104);
/* oklch */ color: oklch(40.2% 0.140 332.7);
Tailwind
colors: {
  custom: {
    50: '#9d6493',
    500: '#712268',
    950: '#000000',
  },
}
SCSS
$custom: #712268;
$custom-light: #9d6493;
$custom-dark: #000000;
JSON
{
  "hex": "#712268",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 306.835,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40213,
    "c": 0.13977,
    "h": 332.7
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#712268
secondary
#4AA455
accent
#DD5B4B
background
#F9F6F9
surface
#F2EBF1
border
#CCC6CB
text
#0F060D
muted
#7E7A7E

Preview Lab

Preview with #712268

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

Preview Lab → · Contrast checker → · Palette generator →

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