#68298B#68298B

#68298B is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.159 H 310.8°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#68298B
RGBrgb(104, 41, 139)
HSLhsl(279, 54%, 35%)
HSVhsv(279, 71%, 55%)
CMYKcmyk(25.2%, 70.5%, 0%, 45.5%)
CIE-LABlab(30.38, 44.92, -42.61)
CIE-LCHlch(30.38, 61.91, 316.51°)
OKLaboklab(41.96% 0.1041 -0.1204)
OKLCHoklch(41.96% 0.159 310.8)
XYZxyz(11.1612, 6.3933, 25.0672)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68298B #4C8B29
analogous
#37298B #68298B #8B297D
triadic
#68298B #8B6829 #298B68
tetradic
#68298B #8B3729 #4C8B29 #297D8B
square
#68298B #8B3729 #4C8B29 #297D8B
split-complementary
#68298B #7D8B29 #298B37
monochromatic
#210D2C #451B5C #68298B #8B37BA #A75FD0

Accessibility & contrast

On white

9.22
#68298B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#68298B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68298B
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68298B#FFFFFF#000000##FFFFFF
##68298B1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#633E57
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68298b;
/* rgb */ color: rgb(104, 41, 139);
/* oklch */ color: oklch(42.0% 0.159 310.8);
Tailwind
colors: {
  custom: {
    50: '#9768ad',
    500: '#68298b',
    950: '#000000',
  },
}
SCSS
$custom: #68298b;
$custom-light: #9768ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68298b",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 278.571,
    "s": 54.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41961,
    "c": 0.15913,
    "h": 310.8
  },
  "luminance": 0.06393
}

Semantic roles & 50–950 ramp

primary
#68298B
secondary
#7BB55B
accent
#DE4A7F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68298B

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

Preview Lab → · Contrast checker → · Palette generator →

#68298B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva