#68298D#68298D

#68298D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.1% C 0.161 H 310.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#68298D
RGBrgb(104, 41, 141)
HSLhsl(278, 55%, 36%)
HSVhsv(278, 71%, 55%)
CMYKcmyk(26.2%, 70.9%, 0%, 44.7%)
CIE-LABlab(30.53, 45.38, -43.61)
CIE-LCHlch(30.53, 62.94, 316.13°)
OKLaboklab(42.11% 0.1038 -0.1233)
OKLCHoklch(42.11% 0.161 310.1)
XYZxyz(11.3086, 6.4523, 25.8438)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68298D #4E8D29
analogous
#36298D #68298D #8D2980
triadic
#68298D #8D6829 #298D68
tetradic
#68298D #8D3629 #4E8D29 #29808D
square
#68298D #8D3629 #4E8D29 #29808D
split-complementary
#68298D #808D29 #298D36
monochromatic
#220D2E #451B5E #68298D #8B37BC #A760D1

Accessibility & contrast

On white

9.17
#68298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#68298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68298D
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68298D#FFFFFF#000000##FFFFFF
##68298D1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#18498B
Tritanopia (blue-blind)
#633F58
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68298d;
/* rgb */ color: rgb(104, 41, 141);
/* oklch */ color: oklch(42.1% 0.161 310.1);
Tailwind
colors: {
  custom: {
    50: '#9768af',
    500: '#68298d',
    950: '#000000',
  },
}
SCSS
$custom: #68298d;
$custom-light: #9768af;
$custom-dark: #000000;
JSON
{
  "hex": "#68298d",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 277.8,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42108,
    "c": 0.16123,
    "h": 310.1
  },
  "luminance": 0.06452
}

Semantic roles & 50–950 ramp

primary
#68298D
secondary
#7DB65B
accent
#DE4A81
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68298D

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

Preview Lab → · Contrast checker → · Palette generator →

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