#68188F#68188F

#68188F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.182 H 311.0°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#68188F
RGBrgb(104, 24, 143)
HSLhsl(280, 71%, 33%)
HSVhsv(280, 83%, 56%)
CMYKcmyk(27.3%, 83.2%, 0%, 43.9%)
CIE-LABlab(28.33, 52.54, -48.41)
CIE-LCHlch(28.33, 71.45, 317.34°)
OKLaboklab(40.6% 0.1195 -0.1373)
OKLCHoklch(40.6% 0.182 311)
XYZxyz(10.9925, 5.5798, 26.4792)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68188F #3F8F18
analogous
#2C188F #68188F #8F187A
triadic
#68188F #8F6818 #188F68
tetradic
#68188F #8F2C18 #3F8F18 #187A8F
square
#68188F #8F2C18 #3F8F18 #187A8F
split-complementary
#68188F #7A8F18 #188F2C
monochromatic
#1C0626 #420F5B #68188F #8E21C3 #AC42DF

Accessibility & contrast

On white

9.93
#68188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#68188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68188F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68188F#FFFFFF#000000##FFFFFF
##68188F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#633755
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #68188f;
/* rgb */ color: rgb(104, 24, 143);
/* oklch */ color: oklch(40.6% 0.182 311.0);
Tailwind
colors: {
  custom: {
    50: '#9861b1',
    500: '#68188f',
    950: '#000000',
  },
}
SCSS
$custom: #68188f;
$custom-light: #9861b1;
$custom-dark: #000000;
JSON
{
  "hex": "#68188f",
  "rgb": {
    "r": 104,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 280.336,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.40603,
    "c": 0.18206,
    "h": 311
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#68188F
secondary
#6CC043
accent
#EE3A75
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0511
muted
#7E7A80

Preview Lab

Preview with #68188F

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

Preview Lab → · Contrast checker → · Palette generator →

#68188F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva