#68267A#68267A

#68267A is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.146 H 318.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#68267A
RGBrgb(104, 38, 122)
HSLhsl(287, 53%, 31%)
HSVhsv(287, 69%, 48%)
CMYKcmyk(14.8%, 68.9%, 0%, 52.2%)
CIE-LABlab(28.73, 42.55, -34.62)
CIE-LCHlch(28.73, 54.86, 320.87°)
OKLaboklab(40.41% 0.1088 -0.097)
OKLCHoklch(40.41% 0.146 318.3)
XYZxyz(9.9144, 5.7349, 18.9933)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68267A #387A26
analogous
#3E267A #68267A #7A2662
triadic
#68267A #7A6826 #267A68
tetradic
#68267A #7A3E26 #387A26 #26627A
square
#68267A #7A3E26 #387A26 #26627A
split-complementary
#68267A #627A26 #267A3E
monochromatic
#18091D #40174B #68267A #9035A9 #AF51C9

Accessibility & contrast

On white

9.78
#68267A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#68267A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68267A
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68267A#FFFFFF#000000##FFFFFF
##68267A1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053F7C
Deuteranopia (green-blind)
#2A4678
Tritanopia (blue-blind)
#68354C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #68267a;
/* rgb */ color: rgb(104, 38, 122);
/* oklch */ color: oklch(40.4% 0.146 318.3);
Tailwind
colors: {
  custom: {
    50: '#9666a1',
    500: '#68267a',
    950: '#000000',
  },
}
SCSS
$custom: #68267a;
$custom-light: #9666a1;
$custom-dark: #000000;
JSON
{
  "hex": "#68267a",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 122
  },
  "hsl": {
    "h": 287.143,
    "s": 52.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.4041,
    "c": 0.14576,
    "h": 318.3
  },
  "luminance": 0.05734
}

Semantic roles & 50–950 ramp

primary
#68267A
secondary
#63AC50
accent
#DC4C6B
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060F
muted
#7E7A7E

Preview Lab

Preview with #68267A

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

Preview Lab → · Contrast checker → · Palette generator →

#68267A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva