#712378#712378

#712378 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.3% C 0.152 H 324.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#712378
RGBrgb(113, 35, 120)
HSLhsl(295, 55%, 30%)
HSVhsv(295, 71%, 47%)
CMYKcmyk(5.8%, 70.8%, 0%, 52.9%)
CIE-LABlab(29.59, 45.69, -31.91)
CIE-LCHlch(29.59, 55.73, 325.07°)
OKLaboklab(41.28% 0.1238 -0.0888)
OKLCHoklch(41.28% 0.152 324.4)
XYZxyz(10.8010, 6.0695, 18.3683)
Luminance0.0607 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712378 #2A7823
analogous
#462378 #712378 #782354
triadic
#712378 #787123 #237871
tetradic
#712378 #784623 #2A7823 #235478
square
#712378 #784623 #2A7823 #235478
split-complementary
#712378 #547823 #237846
monochromatic
#180719 #441549 #712378 #9E31A7 #C04BCA

Accessibility & contrast

On white

9.49
#712378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#712378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712378
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712378#FFFFFF#000000##FFFFFF
##7123781.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E407A
Deuteranopia (green-blind)
#324976
Tritanopia (blue-blind)
#73314B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #712378;
/* rgb */ color: rgb(113, 35, 120);
/* oklch */ color: oklch(41.3% 0.152 324.4);
Tailwind
colors: {
  custom: {
    50: '#9d659f',
    500: '#712378',
    950: '#000000',
  },
}
SCSS
$custom: #712378;
$custom-light: #9d659f;
$custom-dark: #000000;
JSON
{
  "hex": "#712378",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 295.059,
    "s": 54.839,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41276,
    "c": 0.15235,
    "h": 324.4
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#712378
secondary
#54AB4C
accent
#DE4A56
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712378

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

Preview Lab → · Contrast checker → · Palette generator →

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