#7023A5#7023A5

#7023A5 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.4% C 0.195 H 306.8°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7023A5
RGBrgb(112, 35, 165)
HSLhsl(276, 65%, 39%)
HSVhsv(276, 79%, 65%)
CMYKcmyk(32.1%, 78.8%, 0%, 35.3%)
CIE-LABlab(32.62, 54.95, -54.81)
CIE-LCHlch(32.62, 77.61, 315.07°)
OKLaboklab(44.41% 0.1165 -0.1559)
OKLCHoklch(44.41% 0.195 306.8)
XYZxyz(14.0732, 7.3636, 36.2699)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023A5 #58A523
analogous
#2F23A5 #7023A5 #A52399
triadic
#7023A5 #A57023 #23A570
tetradic
#7023A5 #A52F23 #58A523 #2399A5
square
#7023A5 #A52F23 #58A523 #2399A5
split-complementary
#7023A5 #99A523 #23A52F
monochromatic
#2B0E40 #4E1873 #7023A5 #9232D3 #AC64DE

Accessibility & contrast

On white

8.49
#7023A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7023A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7023A5
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7023A5#FFFFFF#000000##FFFFFF
##7023A51.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA9
Deuteranopia (green-blind)
#004DA2
Tritanopia (blue-blind)
#674464
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7023a5;
/* rgb */ color: rgb(112, 35, 165);
/* oklch */ color: oklch(44.4% 0.195 306.8);
Tailwind
colors: {
  custom: {
    50: '#9e67c1',
    500: '#7023a5',
    950: '#000000',
  },
}
SCSS
$custom: #7023a5;
$custom-light: #9e67c1;
$custom-dark: #000000;
JSON
{
  "hex": "#7023a5",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 165
  },
  "hsl": {
    "h": 275.538,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44405,
    "c": 0.19462,
    "h": 306.8
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#7023A5
secondary
#89C460
accent
#E84084
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7023A5

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

Preview Lab → · Contrast checker → · Palette generator →

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