#68289B#68289B

#68289B is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.177 H 305.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#68289B
RGBrgb(104, 40, 155)
HSLhsl(273, 59%, 38%)
HSVhsv(273, 74%, 61%)
CMYKcmyk(32.9%, 74.2%, 0%, 39.2%)
CIE-LABlab(31.41, 49.12, -50.77)
CIE-LCHlch(31.41, 70.64, 314.05°)
OKLaboklab(43.07% 0.1027 -0.1444)
OKLCHoklch(43.07% 0.177 305.4)
XYZxyz(12.3828, 6.8273, 31.6694)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68289B #5B9B28
analogous
#2E289B #68289B #9B2894
triadic
#68289B #9B6828 #289B68
tetradic
#68289B #9B2E28 #5B9B28 #28949B
square
#68289B #9B2E28 #5B9B28 #28949B
split-complementary
#68289B #949B28 #289B2E
monochromatic
#270F3A #471B6A #68289B #8935CB #A566D7

Accessibility & contrast

On white

8.88
#68289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68289B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68289B#FFFFFF#000000##FFFFFF
##68289B1.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68289b;
/* rgb */ color: rgb(104, 40, 155);
/* oklch */ color: oklch(43.1% 0.177 305.4);
Tailwind
colors: {
  custom: {
    50: '#9868b9',
    500: '#68289b',
    950: '#000000',
  },
}
SCSS
$custom: #68289b;
$custom-light: #9868b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68289b",
  "rgb": {
    "r": 104,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 273.391,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.17717,
    "h": 305.4
  },
  "luminance": 0.06827
}

Semantic roles & 50–950 ramp

primary
#68289B
secondary
#8ABD61
accent
#E2468B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68289B

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

Preview Lab → · Contrast checker → · Palette generator →

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