#68248D#68248D

#68248D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.168 H 310.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#68248D
RGBrgb(104, 36, 141)
HSLhsl(279, 59%, 35%)
HSVhsv(279, 74%, 55%)
CMYKcmyk(26.2%, 74.5%, 0%, 44.7%)
CIE-LABlab(29.73, 47.61, -44.89)
CIE-LCHlch(29.73, 65.44, 316.68°)
OKLaboklab(41.54% 0.1092 -0.1271)
OKLCHoklch(41.54% 0.168 310.7)
XYZxyz(11.1466, 6.1282, 25.7898)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68248D #498D24
analogous
#33248D #68248D #8D247E
triadic
#68248D #8D6824 #248D68
tetradic
#68248D #8D3324 #498D24 #247E8D
square
#68248D #8D3324 #498D24 #247E8D
split-complementary
#68248D #7E8D24 #248D33
monochromatic
#200B2B #44185C #68248D #8C30BE #A857D4

Accessibility & contrast

On white

9.44
#68248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#68248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68248D
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68248D#FFFFFF#000000##FFFFFF
##68248D1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68248d;
/* rgb */ color: rgb(104, 36, 141);
/* oklch */ color: oklch(41.5% 0.168 310.7);
Tailwind
colors: {
  custom: {
    50: '#9766af',
    500: '#68248d',
    950: '#000000',
  },
}
SCSS
$custom: #68248d;
$custom-light: #9766af;
$custom-dark: #000000;
JSON
{
  "hex": "#68248d",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 278.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41544,
    "c": 0.16756,
    "h": 310.7
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#68248D
secondary
#78B854
accent
#E3457D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68248D

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

Preview Lab → · Contrast checker → · Palette generator →

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