#68299B#68299B

#68299B is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.2% C 0.176 H 305.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#68299B
RGBrgb(104, 41, 155)
HSLhsl(273, 58%, 38%)
HSVhsv(273, 74%, 61%)
CMYKcmyk(32.9%, 73.5%, 0%, 39.2%)
CIE-LABlab(31.57, 48.67, -50.51)
CIE-LCHlch(31.57, 70.15, 313.93°)
OKLaboklab(43.18% 0.1017 -0.1436)
OKLCHoklch(43.18% 0.176 305.3)
XYZxyz(12.4169, 6.8956, 31.6808)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68299B #5C9B29
analogous
#2F299B #68299B #9B2995
triadic
#68299B #9B6829 #299B68
tetradic
#68299B #9B2F29 #5C9B29 #29959B
square
#68299B #9B2F29 #5C9B29 #29959B
split-complementary
#68299B #959B29 #299B2F
monochromatic
#270F3A #481C6B #68299B #8837CA #A567D7

Accessibility & contrast

On white

8.83
#68299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#68299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68299B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68299B#FFFFFF#000000##FFFFFF
##68299B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#004A99
Tritanopia (blue-blind)
#5F445F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68299b;
/* rgb */ color: rgb(104, 41, 155);
/* oklch */ color: oklch(43.2% 0.176 305.3);
Tailwind
colors: {
  custom: {
    50: '#9869b9',
    500: '#68299b',
    950: '#000000',
  },
}
SCSS
$custom: #68299b;
$custom-light: #9869b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68299b",
  "rgb": {
    "r": 104,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 273.158,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43179,
    "c": 0.17598,
    "h": 305.3
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#68299B
secondary
#8BBD63
accent
#E1468C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68299B

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

Preview Lab → · Contrast checker → · Palette generator →

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