#68258D#68258D

#68258D is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.166 H 310.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#68258D
RGBrgb(104, 37, 141)
HSLhsl(279, 58%, 35%)
HSVhsv(279, 74%, 55%)
CMYKcmyk(26.2%, 73.8%, 0%, 44.7%)
CIE-LABlab(29.89, 47.18, -44.65)
CIE-LCHlch(29.89, 64.96, 316.58°)
OKLaboklab(41.65% 0.1082 -0.1264)
OKLCHoklch(41.65% 0.166 310.6)
XYZxyz(11.1773, 6.1895, 25.8000)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68258D #4A8D25
analogous
#34258D #68258D #8D257E
triadic
#68258D #8D6825 #258D68
tetradic
#68258D #8D3425 #4A8D25 #257E8D
square
#68258D #8D3425 #4A8D25 #257E8D
split-complementary
#68258D #7E8D25 #258D34
monochromatic
#200C2C #44185D #68258D #8C32BD #A859D3

Accessibility & contrast

On white

9.38
#68258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#68258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68258D
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68258D#FFFFFF#000000##FFFFFF
##68258D1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#12478B
Tritanopia (blue-blind)
#633C57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68258d;
/* rgb */ color: rgb(104, 37, 141);
/* oklch */ color: oklch(41.7% 0.166 310.6);
Tailwind
colors: {
  custom: {
    50: '#9766af',
    500: '#68258d',
    950: '#000000',
  },
}
SCSS
$custom: #68258d;
$custom-light: #9766af;
$custom-dark: #000000;
JSON
{
  "hex": "#68258d",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 278.654,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41652,
    "c": 0.16634,
    "h": 310.6
  },
  "luminance": 0.06189
}

Semantic roles & 50–950 ramp

primary
#68258D
secondary
#79B856
accent
#E2467D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68258D

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

Preview Lab → · Contrast checker → · Palette generator →

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