#68289C#68289C

#68289C is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.1% C 0.178 H 305.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#68289C
RGBrgb(104, 40, 156)
HSLhsl(273, 59%, 38%)
HSVhsv(273, 74%, 61%)
CMYKcmyk(33.3%, 74.4%, 0%, 38.8%)
CIE-LABlab(31.49, 49.35, -51.25)
CIE-LCHlch(31.49, 71.15, 313.92°)
OKLaboklab(43.15% 0.1025 -0.1458)
OKLCHoklch(43.15% 0.178 305.1)
XYZxyz(12.4671, 6.8610, 32.1136)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68289C #5C9C28
analogous
#2E289C #68289C #9C2896
triadic
#68289C #9C6828 #289C68
tetradic
#68289C #9C2E28 #5C9C28 #28969C
square
#68289C #9C2E28 #5C9C28 #28969C
split-complementary
#68289C #969C28 #289C2E
monochromatic
#270F3B #481C6B #68289C #8836CB #A567D8

Accessibility & contrast

On white

8.85
#68289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#68289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68289C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68289C#FFFFFF#000000##FFFFFF
##68289C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#004A9A
Tritanopia (blue-blind)
#5E4460
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #68289c;
/* rgb */ color: rgb(104, 40, 156);
/* oklch */ color: oklch(43.1% 0.178 305.1);
Tailwind
colors: {
  custom: {
    50: '#9868ba',
    500: '#68289c',
    950: '#000000',
  },
}
SCSS
$custom: #68289c;
$custom-light: #9868ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68289c",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 273.103,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43147,
    "c": 0.17822,
    "h": 305.1
  },
  "luminance": 0.06861
}

Semantic roles & 50–950 ramp

primary
#68289C
secondary
#8BBE62
accent
#E2458C
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #68289C

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

Preview Lab → · Contrast checker → · Palette generator →

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