#7023A2#7023A2

#7023A2 is a dark, vivid violet. Relative luminance 0.073; OKLCH L 44.2% C 0.192 H 307.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7023A2
RGBrgb(112, 35, 162)
HSLhsl(276, 64%, 39%)
HSVhsv(276, 78%, 64%)
CMYKcmyk(30.9%, 78.4%, 0%, 36.5%)
CIE-LABlab(32.38, 54.27, -53.39)
CIE-LCHlch(32.38, 76.13, 315.47°)
OKLaboklab(44.16% 0.1172 -0.1518)
OKLCHoklch(44.16% 0.192 307.7)
XYZxyz(13.8033, 7.2556, 34.8487)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023A2 #55A223
analogous
#3023A2 #7023A2 #A22394
triadic
#7023A2 #A27023 #23A270
tetradic
#7023A2 #A23023 #55A223 #2394A2
square
#7023A2 #A23023 #55A223 #2394A2
split-complementary
#7023A2 #94A223 #23A230
monochromatic
#2A0D3D #4D1870 #7023A2 #9230D2 #AD62DD

Accessibility & contrast

On white

8.57
#7023A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7023A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023A2
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023A2#FFFFFF#000000##FFFFFF
##7023A21.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#004D9F
Tritanopia (blue-blind)
#684362
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7023a2;
/* rgb */ color: rgb(112, 35, 162);
/* oklch */ color: oklch(44.2% 0.192 307.7);
Tailwind
colors: {
  custom: {
    50: '#9e67be',
    500: '#7023a2',
    950: '#000000',
  },
}
SCSS
$custom: #7023a2;
$custom-light: #9e67be;
$custom-dark: #000000;
JSON
{
  "hex": "#7023a2",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 276.378,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44163,
    "c": 0.19172,
    "h": 307.7
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#7023A2
secondary
#86C25E
accent
#E74082
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #7023A2

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

Preview Lab → · Contrast checker → · Palette generator →

#7023A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva