#68258F#68258F

#68258F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.168 H 309.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#68258F
RGBrgb(104, 37, 143)
HSLhsl(278, 59%, 35%)
HSVhsv(278, 74%, 56%)
CMYKcmyk(27.3%, 74.1%, 0%, 43.9%)
CIE-LABlab(30.03, 47.64, -45.64)
CIE-LCHlch(30.03, 65.97, 316.22°)
OKLaboklab(41.8% 0.1079 -0.1293)
OKLCHoklch(41.8% 0.168 309.8)
XYZxyz(11.3274, 6.2496, 26.5908)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68258F #4C8F25
analogous
#33258F #68258F #8F2581
triadic
#68258F #8F6825 #258F68
tetradic
#68258F #8F3325 #4C8F25 #25818F
square
#68258F #8F3325 #4C8F25 #25818F
split-complementary
#68258F #818F25 #258F33
monochromatic
#210C2E #45185E #68258F #8B32C0 #A75AD4

Accessibility & contrast

On white

9.33
#68258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#68258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68258F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68258F#FFFFFF#000000##FFFFFF
##68258F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#0D488D
Tritanopia (blue-blind)
#623D58
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #68258f;
/* rgb */ color: rgb(104, 37, 143);
/* oklch */ color: oklch(41.8% 0.168 309.8);
Tailwind
colors: {
  custom: {
    50: '#9766b0',
    500: '#68258f',
    950: '#000000',
  },
}
SCSS
$custom: #68258f;
$custom-light: #9766b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68258f",
  "rgb": {
    "r": 104,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 277.925,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41804,
    "c": 0.16837,
    "h": 309.8
  },
  "luminance": 0.06249
}

Semantic roles & 50–950 ramp

primary
#68258F
secondary
#7BB957
accent
#E2467F
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68258F

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

Preview Lab → · Contrast checker → · Palette generator →

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