#68138F#68138F

#68138F is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.3% C 0.186 H 311.4°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#68138F
RGBrgb(104, 19, 143)
HSLhsl(281, 77%, 32%)
HSVhsv(281, 87%, 56%)
CMYKcmyk(27.3%, 86.7%, 0%, 43.9%)
CIE-LABlab(27.82, 54.01, -49.23)
CIE-LCHlch(27.82, 73.08, 317.65°)
OKLaboklab(40.25% 0.123 -0.1397)
OKLCHoklch(40.25% 0.186 311.4)
XYZxyz(10.8988, 5.3923, 26.4480)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68138F #3A8F13
analogous
#2A138F #68138F #8F1378
triadic
#68138F #8F6813 #138F68
tetradic
#68138F #8F2A13 #3A8F13 #13788F
square
#68138F #8F2A13 #3A8F13 #13788F
split-complementary
#68138F #788F13 #138F2A
monochromatic
#190523 #410C59 #68138F #8F1AC5 #AE38E5

Accessibility & contrast

On white

10.10
#68138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#68138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68138F
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68138F#FFFFFF#000000##FFFFFF
##68138F1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#633554
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #68138f;
/* rgb */ color: rgb(104, 19, 143);
/* oklch */ color: oklch(40.3% 0.186 311.4);
Tailwind
colors: {
  custom: {
    50: '#985fb1',
    500: '#68138f',
    950: '#000000',
  },
}
SCSS
$custom: #68138f;
$custom-light: #985fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#68138f",
  "rgb": {
    "r": 104,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 281.129,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.40253,
    "c": 0.18613,
    "h": 311.4
  },
  "luminance": 0.05392
}

Semantic roles & 50–950 ramp

primary
#68138F
secondary
#66C33B
accent
#F33571
background
#F9F5FB
surface
#F2EAF6
border
#CCC6D0
text
#0E0511
muted
#7E7980

Preview Lab

Preview with #68138F

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

Preview Lab → · Contrast checker → · Palette generator →

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