#68277B#68277B

#68277B is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.145 H 317.7°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#68277B
RGBrgb(104, 39, 123)
HSLhsl(286, 52%, 32%)
HSVhsv(286, 68%, 48%)
CMYKcmyk(15.4%, 68.3%, 0%, 51.8%)
CIE-LABlab(28.97, 42.30, -34.88)
CIE-LCHlch(28.97, 54.83, 320.49°)
OKLaboklab(40.6% 0.1076 -0.0977)
OKLCHoklch(40.6% 0.145 317.7)
XYZxyz(10.0091, 5.8246, 19.3321)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68277B #3A7B27
analogous
#3E277B #68277B #7B2764
triadic
#68277B #7B6827 #277B68
tetradic
#68277B #7B3E27 #3A7B27 #27647B
square
#68277B #7B3E27 #3A7B27 #27647B
split-complementary
#68277B #647B27 #277B3E
monochromatic
#190A1E #41184D #68277B #8F36A9 #AE54C9

Accessibility & contrast

On white

9.70
#68277B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#68277B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68277B
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68277B#FFFFFF#000000##FFFFFF
##68277B1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06407E
Deuteranopia (green-blind)
#2A4679
Tritanopia (blue-blind)
#67364D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68277b;
/* rgb */ color: rgb(104, 39, 123);
/* oklch */ color: oklch(40.6% 0.145 317.7);
Tailwind
colors: {
  custom: {
    50: '#9666a2',
    500: '#68277b',
    950: '#000000',
  },
}
SCSS
$custom: #68277b;
$custom-light: #9666a2;
$custom-dark: #000000;
JSON
{
  "hex": "#68277b",
  "rgb": {
    "r": 104,
    "g": 39,
    "b": 123
  },
  "hsl": {
    "h": 286.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.14533,
    "h": 317.7
  },
  "luminance": 0.05824
}

Semantic roles & 50–950 ramp

primary
#68277B
secondary
#66AD51
accent
#DB4C6D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E060F
muted
#7E7A7F

Preview Lab

Preview with #68277B

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

Preview Lab → · Contrast checker → · Palette generator →

#68277B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva