#68267D#68267D

#68267D is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.149 H 316.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#68267D
RGBrgb(104, 38, 125)
HSLhsl(286, 53%, 32%)
HSVhsv(286, 70%, 49%)
CMYKcmyk(16.8%, 69.6%, 0%, 51%)
CIE-LABlab(28.93, 43.19, -36.20)
CIE-LCHlch(28.93, 56.36, 320.03°)
OKLaboklab(40.61% 0.1087 -0.1016)
OKLCHoklch(40.61% 0.149 316.9)
XYZxyz(10.1032, 5.8104, 19.9874)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68267D #3B7D26
analogous
#3D267D #68267D #7D2667
triadic
#68267D #7D6826 #267D68
tetradic
#68267D #7D3D26 #3B7D26 #26677D
square
#68267D #7D3D26 #3B7D26 #26677D
split-complementary
#68267D #677D26 #267D3D
monochromatic
#1A091F #41184E #68267D #8F34AC #AE53CB

Accessibility & contrast

On white

9.71
#68267D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68267D
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68267D#FFFFFF#000000##FFFFFF
##68267D1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004080
Deuteranopia (green-blind)
#28467B
Tritanopia (blue-blind)
#67364E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68267d;
/* rgb */ color: rgb(104, 38, 125);
/* oklch */ color: oklch(40.6% 0.149 316.9);
Tailwind
colors: {
  custom: {
    50: '#9666a3',
    500: '#68267d',
    950: '#000000',
  },
}
SCSS
$custom: #68267d;
$custom-light: #9666a3;
$custom-dark: #000000;
JSON
{
  "hex": "#68267d",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 125
  },
  "hsl": {
    "h": 285.517,
    "s": 53.374,
    "l": 31.961
  },
  "oklch": {
    "l": 0.40613,
    "c": 0.14878,
    "h": 316.9
  },
  "luminance": 0.0581
}

Semantic roles & 50–950 ramp

primary
#68267D
secondary
#67AF50
accent
#DD4B6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68267D

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

Preview Lab → · Contrast checker → · Palette generator →

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