#68268E#68268E

#68268E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.166 H 310.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#68268E
RGBrgb(104, 38, 142)
HSLhsl(278, 58%, 35%)
HSVhsv(278, 73%, 56%)
CMYKcmyk(26.8%, 73.2%, 0%, 44.3%)
CIE-LABlab(30.11, 46.97, -44.90)
CIE-LCHlch(30.11, 64.98, 316.29°)
OKLaboklab(41.84% 0.107 -0.1271)
OKLCHoklch(41.84% 0.166 310.1)
XYZxyz(11.2836, 6.2825, 26.2042)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68268E #4C8E26
analogous
#34268E #68268E #8E2680
triadic
#68268E #8E6826 #268E68
tetradic
#68268E #8E3426 #4C8E26 #26808E
square
#68268E #8E3426 #4C8E26 #26808E
split-complementary
#68268E #808E26 #268E34
monochromatic
#210C2D #45195E #68268E #8B33BE #A75BD3

Accessibility & contrast

On white

9.31
#68268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#68268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68268E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68268E#FFFFFF#000000##FFFFFF
##68268E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#12488C
Tritanopia (blue-blind)
#633D57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68268e;
/* rgb */ color: rgb(104, 38, 142);
/* oklch */ color: oklch(41.8% 0.166 310.1);
Tailwind
colors: {
  custom: {
    50: '#9767b0',
    500: '#68268e',
    950: '#000000',
  },
}
SCSS
$custom: #68268e;
$custom-light: #9767b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68268e",
  "rgb": {
    "r": 104,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 278.077,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.16612,
    "h": 310.1
  },
  "luminance": 0.06282
}

Semantic roles & 50–950 ramp

primary
#68268E
secondary
#7BB858
accent
#E1477F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68268E

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

Preview Lab → · Contrast checker → · Palette generator →

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