#68268A#68268A

#68268A is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.5% C 0.162 H 311.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#68268A
RGBrgb(104, 38, 138)
HSLhsl(280, 57%, 35%)
HSVhsv(280, 72%, 54%)
CMYKcmyk(24.6%, 72.5%, 0%, 45.9%)
CIE-LABlab(29.82, 46.06, -42.89)
CIE-LCHlch(29.82, 62.94, 317.04°)
OKLaboklab(41.54% 0.1075 -0.1212)
OKLCHoklch(41.54% 0.162 311.6)
XYZxyz(10.9886, 6.1645, 24.6508)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68268A #488A26
analogous
#36268A #68268A #8A267A
triadic
#68268A #8A6826 #268A68
tetradic
#68268A #8A3626 #488A26 #267A8A
square
#68268A #8A3626 #488A26 #267A8A
split-complementary
#68268A #7A8A26 #268A36
monochromatic
#200C2A #44195A #68268A #8C33BA #A859D1

Accessibility & contrast

On white

9.41
#68268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#68268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68268A
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68268A#FFFFFF#000000##FFFFFF
##68268A1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#194788
Tritanopia (blue-blind)
#643C55
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68268a;
/* rgb */ color: rgb(104, 38, 138);
/* oklch */ color: oklch(41.5% 0.162 311.6);
Tailwind
colors: {
  custom: {
    50: '#9766ad',
    500: '#68268a',
    950: '#000000',
  },
}
SCSS
$custom: #68268a;
$custom-light: #9766ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68268a",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 279.6,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41539,
    "c": 0.16202,
    "h": 311.6
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#68268A
secondary
#76B656
accent
#E0487C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68268A

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

Preview Lab → · Contrast checker → · Palette generator →

#68268A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva