#68267C#68267C

#68267C is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.5% C 0.148 H 317.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#68267C
RGBrgb(104, 38, 124)
HSLhsl(286, 53%, 32%)
HSVhsv(286, 69%, 49%)
CMYKcmyk(16.1%, 69.4%, 0%, 51.4%)
CIE-LABlab(28.86, 42.98, -35.68)
CIE-LCHlch(28.86, 55.86, 320.30°)
OKLaboklab(40.54% 0.1087 -0.1001)
OKLCHoklch(40.54% 0.148 317.4)
XYZxyz(10.0396, 5.7849, 19.6526)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68267C #3A7C26
analogous
#3D267C #68267C #7C2665
triadic
#68267C #7C6826 #267C68
tetradic
#68267C #7C3D26 #3A7C26 #26657C
square
#68267C #7C3D26 #3A7C26 #26657C
split-complementary
#68267C #657C26 #267C3D
monochromatic
#19091E #41184D #68267C #8F34AB #AE52CA

Accessibility & contrast

On white

9.74
#68267C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#68267C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68267C
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68267C#FFFFFF#000000##FFFFFF
##68267C1.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01407F
Deuteranopia (green-blind)
#28467A
Tritanopia (blue-blind)
#67364E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68267c;
/* rgb */ color: rgb(104, 38, 124);
/* oklch */ color: oklch(40.5% 0.148 317.4);
Tailwind
colors: {
  custom: {
    50: '#9666a2',
    500: '#68267c',
    950: '#000000',
  },
}
SCSS
$custom: #68267c;
$custom-light: #9666a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68267c",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 124
  },
  "hsl": {
    "h": 286.047,
    "s": 53.086,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40545,
    "c": 0.14776,
    "h": 317.4
  },
  "luminance": 0.05785
}

Semantic roles & 50–950 ramp

primary
#68267C
secondary
#66AE50
accent
#DC4B6D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68267C

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

Preview Lab → · Contrast checker → · Palette generator →

#68267C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva