#68198B#68198B

#68198B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.4% C 0.177 H 312.4°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#68198B
RGBrgb(104, 25, 139)
HSLhsl(282, 70%, 32%)
HSVhsv(282, 82%, 55%)
CMYKcmyk(25.2%, 82%, 0%, 45.5%)
CIE-LABlab(28.12, 51.37, -46.26)
CIE-LCHlch(28.12, 69.13, 317.99°)
OKLaboklab(40.36% 0.1197 -0.131)
OKLCHoklch(40.36% 0.177 312.4)
XYZxyz(10.7159, 5.5027, 24.9187)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68198B #3C8B19
analogous
#2F198B #68198B #8B1975
triadic
#68198B #8B6819 #198B68
tetradic
#68198B #8B2F19 #3C8B19 #19758B
square
#68198B #8B2F19 #3C8B19 #19758B
split-complementary
#68198B #758B19 #198B2F
monochromatic
#1A0623 #411057 #68198B #8F22BF #AD41DD

Accessibility & contrast

On white

10.00
#68198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#68198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68198B
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68198B#FFFFFF#000000##FFFFFF
##68198B1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#014489
Tritanopia (blue-blind)
#643653
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68198b;
/* rgb */ color: rgb(104, 25, 139);
/* oklch */ color: oklch(40.4% 0.177 312.4);
Tailwind
colors: {
  custom: {
    50: '#9861ae',
    500: '#68198b',
    950: '#000000',
  },
}
SCSS
$custom: #68198b;
$custom-light: #9861ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68198b",
  "rgb": {
    "r": 104,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 281.579,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4036,
    "c": 0.17747,
    "h": 312.4
  },
  "luminance": 0.05502
}

Semantic roles & 50–950 ramp

primary
#68198B
secondary
#68BE42
accent
#EC3B72
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0510
muted
#7E7A7F

Preview Lab

Preview with #68198B

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

Preview Lab → · Contrast checker → · Palette generator →

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