#68299C#68299C

#68299C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.3% C 0.177 H 305.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#68299C
RGBrgb(104, 41, 156)
HSLhsl(273, 58%, 39%)
HSVhsv(273, 74%, 61%)
CMYKcmyk(33.3%, 73.7%, 0%, 38.8%)
CIE-LABlab(31.65, 48.91, -51.00)
CIE-LCHlch(31.65, 70.66, 313.80°)
OKLaboklab(43.26% 0.1015 -0.1451)
OKLCHoklch(43.26% 0.177 305)
XYZxyz(12.5013, 6.9293, 32.1249)
Luminance0.0693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68299C #5D9C29
analogous
#2E299C #68299C #9C2996
triadic
#68299C #9C6829 #299C68
tetradic
#68299C #9C2E29 #5D9C29 #29969C
square
#68299C #9C2E29 #5D9C29 #29969C
split-complementary
#68299C #969C29 #299C2E
monochromatic
#27103B #481C6C #68299C #8838CB #A568D7

Accessibility & contrast

On white

8.80
#68299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#68299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68299C
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68299C#FFFFFF#000000##FFFFFF
##68299C1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#004B9A
Tritanopia (blue-blind)
#5E4560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68299c;
/* rgb */ color: rgb(104, 41, 156);
/* oklch */ color: oklch(43.3% 0.177 305.0);
Tailwind
colors: {
  custom: {
    50: '#9869ba',
    500: '#68299c',
    950: '#000000',
  },
}
SCSS
$custom: #68299c;
$custom-light: #9869ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68299c",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 272.87,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43258,
    "c": 0.17704,
    "h": 305
  },
  "luminance": 0.06929
}

Semantic roles & 50–950 ramp

primary
#68299C
secondary
#8CBE63
accent
#E2468C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68299C

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

Preview Lab → · Contrast checker → · Palette generator →

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