#7C268A#7C268A

#7C268A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.170 H 321.7°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7C268A
RGBrgb(124, 38, 138)
HSLhsl(292, 57%, 35%)
HSVhsv(292, 72%, 54%)
CMYKcmyk(10.1%, 72.5%, 0%, 45.9%)
CIE-LABlab(32.93, 50.55, -37.73)
CIE-LCHlch(32.93, 63.07, 323.26°)
OKLaboklab(44.39% 0.1335 -0.1054)
OKLCHoklch(44.39% 0.17 321.7)
XYZxyz(13.5922, 7.5070, 24.7729)
Luminance0.0751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C268A #348A26
analogous
#4A268A #7C268A #8A2666
triadic
#7C268A #8A7C26 #268A7C
tetradic
#7C268A #8A4A26 #348A26 #26668A
square
#7C268A #8A4A26 #348A26 #26668A
split-complementary
#7C268A #668A26 #268A4A
monochromatic
#260C2A #51195A #7C268A #A733BA #C059D1

Accessibility & contrast

On white

8.40
#7C268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7C268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C268A
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C268A#FFFFFF#000000##FFFFFF
##7C268A1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#7D3855
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c268a;
/* rgb */ color: rgb(124, 38, 138);
/* oklch */ color: oklch(44.4% 0.170 321.7);
Tailwind
colors: {
  custom: {
    50: '#a569ad',
    500: '#7c268a',
    950: '#000000',
  },
}
SCSS
$custom: #7c268a;
$custom-light: #a569ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c268a",
  "rgb": {
    "r": 124,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 291.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.44392,
    "c": 0.17012,
    "h": 321.7
  },
  "luminance": 0.07506
}

Semantic roles & 50–950 ramp

primary
#7C268A
secondary
#63B656
accent
#E0485D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C268A

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

Preview Lab → · Contrast checker → · Palette generator →

#7C268A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva