#68258C#68258C

#68258C is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.6% C 0.165 H 310.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#68258C
RGBrgb(104, 37, 140)
HSLhsl(279, 58%, 35%)
HSVhsv(279, 74%, 55%)
CMYKcmyk(25.7%, 73.6%, 0%, 45.1%)
CIE-LABlab(29.81, 46.95, -44.15)
CIE-LCHlch(29.81, 64.45, 316.77°)
OKLaboklab(41.58% 0.1083 -0.1249)
OKLCHoklch(41.58% 0.165 310.9)
XYZxyz(11.1032, 6.1599, 25.4099)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68258C #498C25
analogous
#35258C #68258C #8C257D
triadic
#68258C #8C6825 #258C68
tetradic
#68258C #8C3525 #498C25 #257D8C
square
#68258C #8C3525 #498C25 #257D8C
split-complementary
#68258C #7D8C25 #258C35
monochromatic
#200B2B #44185C #68258C #8C32BC #A858D3

Accessibility & contrast

On white

9.41
#68258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68258C
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68258C#FFFFFF#000000##FFFFFF
##68258C1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#14478A
Tritanopia (blue-blind)
#633C56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68258c;
/* rgb */ color: rgb(104, 37, 140);
/* oklch */ color: oklch(41.6% 0.165 310.9);
Tailwind
colors: {
  custom: {
    50: '#9766ae',
    500: '#68258c',
    950: '#000000',
  },
}
SCSS
$custom: #68258c;
$custom-light: #9766ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68258c",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 279.029,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41577,
    "c": 0.16532,
    "h": 310.9
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#68258C
secondary
#78B855
accent
#E1467D
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68258C

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

Preview Lab → · Contrast checker → · Palette generator →

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