#68268B#68268B

#68268B is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.163 H 311.2°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#68268B
RGBrgb(104, 38, 139)
HSLhsl(279, 57%, 35%)
HSVhsv(279, 73%, 55%)
CMYKcmyk(25.2%, 72.7%, 0%, 45.5%)
CIE-LABlab(29.90, 46.29, -43.39)
CIE-LCHlch(29.90, 63.45, 316.85°)
OKLaboklab(41.61% 0.1074 -0.1227)
OKLCHoklch(41.61% 0.163 311.2)
XYZxyz(11.0614, 6.1936, 25.0339)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68268B #498B26
analogous
#36268B #68268B #8B267C
triadic
#68268B #8B6826 #268B68
tetradic
#68268B #8B3626 #498B26 #267C8B
square
#68268B #8B3626 #498B26 #267C8B
split-complementary
#68268B #7C8B26 #268B36
monochromatic
#200C2B #44195B #68268B #8C33BB #A85AD2

Accessibility & contrast

On white

9.38
#68268B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#68268B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68268B
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68268B#FFFFFF#000000##FFFFFF
##68268B1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#174889
Tritanopia (blue-blind)
#643C56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68268b;
/* rgb */ color: rgb(104, 38, 139);
/* oklch */ color: oklch(41.6% 0.163 311.2);
Tailwind
colors: {
  custom: {
    50: '#9767ad',
    500: '#68268b',
    950: '#000000',
  },
}
SCSS
$custom: #68268b;
$custom-light: #9767ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68268b",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 139
  },
  "hsl": {
    "h": 279.208,
    "s": 57.062,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41613,
    "c": 0.16304,
    "h": 311.2
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#68268B
secondary
#78B756
accent
#E0477C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68268B

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

Preview Lab → · Contrast checker → · Palette generator →

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