#68268F#68268F

#68268F is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.167 H 309.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#68268F
RGBrgb(104, 38, 143)
HSLhsl(278, 58%, 35%)
HSVhsv(278, 73%, 56%)
CMYKcmyk(27.3%, 73.4%, 0%, 43.9%)
CIE-LABlab(30.19, 47.20, -45.39)
CIE-LCHlch(30.19, 65.49, 316.12°)
OKLaboklab(41.91% 0.1068 -0.1286)
OKLCHoklch(41.91% 0.167 309.7)
XYZxyz(11.3590, 6.3127, 26.6014)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68268F #4D8F26
analogous
#33268F #68268F #8F2681
triadic
#68268F #8F6826 #268F68
tetradic
#68268F #8F3326 #4D8F26 #26818F
square
#68268F #8F3326 #4D8F26 #26818F
split-complementary
#68268F #818F26 #268F33
monochromatic
#220C2E #45195F #68268F #8B33BF #A75CD4

Accessibility & contrast

On white

9.28
#68268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#68268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68268F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68268F#FFFFFF#000000##FFFFFF
##68268F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#0F488D
Tritanopia (blue-blind)
#623E58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68268f;
/* rgb */ color: rgb(104, 38, 143);
/* oklch */ color: oklch(41.9% 0.167 309.7);
Tailwind
colors: {
  custom: {
    50: '#9767b0',
    500: '#68268f',
    950: '#000000',
  },
}
SCSS
$custom: #68268f;
$custom-light: #9767b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68268f",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 277.714,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41914,
    "c": 0.16715,
    "h": 309.7
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#68268F
secondary
#7CB958
accent
#E14780
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68268F

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

Preview Lab → · Contrast checker → · Palette generator →

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