#68289D#68289D

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

Color values

HEX#68289D
RGBrgb(104, 40, 157)
HSLhsl(273, 59%, 39%)
HSVhsv(273, 75%, 62%)
CMYKcmyk(33.8%, 74.5%, 0%, 38.4%)
CIE-LABlab(31.57, 49.59, -51.73)
CIE-LCHlch(31.57, 71.66, 313.79°)
OKLaboklab(43.23% 0.1023 -0.1472)
OKLCHoklch(43.23% 0.179 304.8)
XYZxyz(12.5521, 6.8950, 32.5614)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68289D #5D9D28
analogous
#2E289D #68289D #9D2897
triadic
#68289D #9D6828 #289D68
tetradic
#68289D #9D2E28 #5D9D28 #28979D
square
#68289D #9D2E28 #5D9D28 #28979D
split-complementary
#68289D #979D28 #289D2E
monochromatic
#270F3B #481C6C #68289D #8836CC #A567D8

Accessibility & contrast

On white

8.83
#68289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#68289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68289D
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68289D#FFFFFF#000000##FFFFFF
##68289D1.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)
#0049A0
Deuteranopia (green-blind)
#004A9B
Tritanopia (blue-blind)
#5E4560
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68289d;
/* rgb */ color: rgb(104, 40, 157);
/* oklch */ color: oklch(43.2% 0.179 304.8);
Tailwind
colors: {
  custom: {
    50: '#9868bb',
    500: '#68289d',
    950: '#000000',
  },
}
SCSS
$custom: #68289d;
$custom-light: #9868bb;
$custom-dark: #000000;
JSON
{
  "hex": "#68289d",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 272.821,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.17927,
    "h": 304.8
  },
  "luminance": 0.06895
}

Semantic roles & 50–950 ramp

primary
#68289D
secondary
#8CBE62
accent
#E3458D
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68289D

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

Preview Lab → · Contrast checker → · Palette generator →

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