#68299F#68299F

#68299F is a dark, vivid violet. Relative luminance 0.070; OKLCH L 43.5% C 0.180 H 304.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#68299F
RGBrgb(104, 41, 159)
HSLhsl(272, 59%, 39%)
HSVhsv(272, 74%, 62%)
CMYKcmyk(34.6%, 74.2%, 0%, 37.6%)
CIE-LABlab(31.88, 49.63, -52.44)
CIE-LCHlch(31.88, 72.20, 313.42°)
OKLaboklab(43.5% 0.1009 -0.1493)
OKLCHoklch(43.5% 0.18 304.1)
XYZxyz(12.7584, 7.0322, 33.4794)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68299F #609F29
analogous
#2D299F #68299F #9F299B
triadic
#68299F #9F6829 #299F68
tetradic
#68299F #9F2D29 #609F29 #299B9F
square
#68299F #9F2D29 #609F29 #299B9F
split-complementary
#68299F #9B9F29 #299F2D
monochromatic
#28103E #481C6E #68299F #8839CC #A56AD9

Accessibility & contrast

On white

8.73
#68299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#68299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68299F
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68299F#FFFFFF#000000##FFFFFF
##68299F1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA2
Deuteranopia (green-blind)
#004B9D
Tritanopia (blue-blind)
#5D4662
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #68299f;
/* rgb */ color: rgb(104, 41, 159);
/* oklch */ color: oklch(43.5% 0.180 304.1);
Tailwind
colors: {
  custom: {
    50: '#9869bc',
    500: '#68299f',
    950: '#000000',
  },
}
SCSS
$custom: #68299f;
$custom-light: #9869bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68299f",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 272.034,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43497,
    "c": 0.1802,
    "h": 304.1
  },
  "luminance": 0.07032
}

Semantic roles & 50–950 ramp

primary
#68299F
secondary
#8FBF65
accent
#E2468F
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68299F

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

Preview Lab → · Contrast checker → · Palette generator →

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