#68189B#68189B

#68189B is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.6% C 0.193 H 307.0°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#68189B
RGBrgb(104, 24, 155)
HSLhsl(277, 73%, 35%)
HSVhsv(277, 85%, 61%)
CMYKcmyk(32.9%, 84.5%, 0%, 39.2%)
CIE-LABlab(29.32, 55.15, -54.18)
CIE-LCHlch(29.32, 77.31, 315.51°)
OKLaboklab(41.6% 0.1162 -0.1543)
OKLCHoklch(41.6% 0.193 307)
XYZxyz(11.9507, 5.9630, 31.5254)
Luminance0.0596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68189B #4B9B18
analogous
#26189B #68189B #9B188D
triadic
#68189B #9B6818 #189B68
tetradic
#68189B #9B2618 #4B9B18 #188D9B
square
#68189B #9B2618 #4B9B18 #188D9B
split-complementary
#68189B #8D9B18 #189B26
monochromatic
#210831 #441066 #68189B #8C20D0 #A84AE3

Accessibility & contrast

On white

9.58
#68189B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#68189B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68189B
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68189B#FFFFFF#000000##FFFFFF
##68189B1.009.582.199.58
#FFFFFF9.581.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439E
Deuteranopia (green-blind)
#004699
Tritanopia (blue-blind)
#5F3D5C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #68189b;
/* rgb */ color: rgb(104, 24, 155);
/* oklch */ color: oklch(41.6% 0.193 307.0);
Tailwind
colors: {
  custom: {
    50: '#9961b9',
    500: '#68189b',
    950: '#000000',
  },
}
SCSS
$custom: #68189b;
$custom-light: #9961b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68189b",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 155
  },
  "hsl": {
    "h": 276.641,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41602,
    "c": 0.19312,
    "h": 307
  },
  "luminance": 0.05963
}

Semantic roles & 50–950 ramp

primary
#68189B
secondary
#7AC54A
accent
#F03880
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68189B

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

Preview Lab → · Contrast checker → · Palette generator →

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