#68268D#68268D

#68268D is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.165 H 310.4°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#68268D
RGBrgb(104, 38, 141)
HSLhsl(278, 58%, 35%)
HSVhsv(278, 73%, 55%)
CMYKcmyk(26.2%, 73%, 0%, 44.7%)
CIE-LABlab(30.04, 46.74, -44.40)
CIE-LCHlch(30.04, 64.47, 316.47°)
OKLaboklab(41.76% 0.1071 -0.1256)
OKLCHoklch(41.76% 0.165 310.4)
XYZxyz(11.2088, 6.2526, 25.8105)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68268D #4B8D26
analogous
#35268D #68268D #8D267E
triadic
#68268D #8D6826 #268D68
tetradic
#68268D #8D3526 #4B8D26 #267E8D
square
#68268D #8D3526 #4B8D26 #267E8D
split-complementary
#68268D #7E8D26 #268D35
monochromatic
#210C2D #44195D #68268D #8C33BD #A85BD3

Accessibility & contrast

On white

9.33
#68268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#68268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68268D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68268D#FFFFFF#000000##FFFFFF
##68268D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#14488B
Tritanopia (blue-blind)
#633D57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68268d;
/* rgb */ color: rgb(104, 38, 141);
/* oklch */ color: oklch(41.8% 0.165 310.4);
Tailwind
colors: {
  custom: {
    50: '#9767af',
    500: '#68268d',
    950: '#000000',
  },
}
SCSS
$custom: #68268d;
$custom-light: #9767af;
$custom-dark: #000000;
JSON
{
  "hex": "#68268d",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 278.447,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41763,
    "c": 0.1651,
    "h": 310.4
  },
  "luminance": 0.06252
}

Semantic roles & 50–950 ramp

primary
#68268D
secondary
#7AB857
accent
#E1477E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68268D

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

Preview Lab → · Contrast checker → · Palette generator →

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