#7023AA#7023AA

#7023AA is a dark, vivid violet. Relative luminance 0.075; OKLCH L 44.8% C 0.199 H 305.3°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7023AA
RGBrgb(112, 35, 170)
HSLhsl(274, 66%, 40%)
HSVhsv(274, 79%, 67%)
CMYKcmyk(34.1%, 79.4%, 0%, 33.3%)
CIE-LABlab(33.03, 56.08, -57.16)
CIE-LCHlch(33.03, 80.07, 314.45°)
OKLaboklab(44.82% 0.1152 -0.1628)
OKLCHoklch(44.82% 0.199 305.3)
XYZxyz(14.5372, 7.5492, 38.7137)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7023AA #5DAA23
analogous
#2C23AA #7023AA #AA23A1
triadic
#7023AA #AA7023 #23AA70
tetradic
#7023AA #AA2C23 #5DAA23 #23A1AA
square
#7023AA #AA2C23 #5DAA23 #23A1AA
split-complementary
#7023AA #A1AA23 #23AA2C
monochromatic
#2D0E44 #4F1977 #7023AA #9035D5 #AC68E0

Accessibility & contrast

On white

8.37
#7023AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7023AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7023AA#FFFFFF#000000##FFFFFF
##7023AA1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#004EA7
Tritanopia (blue-blind)
#654767
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7023aa;
/* rgb */ color: rgb(112, 35, 170);
/* oklch */ color: oklch(44.8% 0.199 305.3);
Tailwind
colors: {
  custom: {
    50: '#9f68c4',
    500: '#7023aa',
    950: '#000000',
  },
}
SCSS
$custom: #7023aa;
$custom-light: #9f68c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7023aa",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 170
  },
  "hsl": {
    "h": 274.222,
    "s": 65.854,
    "l": 40.196
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.19946,
    "h": 305.3
  },
  "luminance": 0.07549
}

Semantic roles & 50–950 ramp

primary
#7023AA
secondary
#8DC663
accent
#E93F88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #7023AA

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

Preview Lab → · Contrast checker → · Palette generator →

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