#68258B#68258B

#68258B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.164 H 311.3°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#68258B
RGBrgb(104, 37, 139)
HSLhsl(279, 58%, 35%)
HSVhsv(279, 73%, 55%)
CMYKcmyk(25.2%, 73.4%, 0%, 45.5%)
CIE-LABlab(29.74, 46.73, -43.65)
CIE-LCHlch(29.74, 63.94, 316.95°)
OKLaboklab(41.5% 0.1085 -0.1234)
OKLCHoklch(41.5% 0.164 311.3)
XYZxyz(11.0298, 6.1305, 25.0234)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68258B #488B25
analogous
#35258B #68258B #8B257B
triadic
#68258B #8B6825 #258B68
tetradic
#68258B #8B3525 #488B25 #257B8B
square
#68258B #8B3525 #488B25 #257B8B
split-complementary
#68258B #7B8B25 #258B35
monochromatic
#200B2A #44185B #68258B #8C32BB #A858D3

Accessibility & contrast

On white

9.43
#68258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#68258B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68258B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68258B#FFFFFF#000000##FFFFFF
##68258B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68258b;
/* rgb */ color: rgb(104, 37, 139);
/* oklch */ color: oklch(41.5% 0.164 311.3);
Tailwind
colors: {
  custom: {
    50: '#9766ad',
    500: '#68258b',
    950: '#000000',
  },
}
SCSS
$custom: #68258b;
$custom-light: #9766ad;
$custom-dark: #000000;
JSON
{
  "hex": "#68258b",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 279.412,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41502,
    "c": 0.1643,
    "h": 311.3
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#68258B
secondary
#76B755
accent
#E1477C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68258B

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

Preview Lab → · Contrast checker → · Palette generator →

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