#68249F#68249F

#68249F is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.186 H 304.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#68249F
RGBrgb(104, 36, 159)
HSLhsl(273, 63%, 38%)
HSVhsv(273, 77%, 62%)
CMYKcmyk(34.6%, 77.4%, 0%, 37.6%)
CIE-LABlab(31.13, 51.76, -53.65)
CIE-LCHlch(31.13, 74.55, 313.97°)
OKLaboklab(42.97% 0.1056 -0.1528)
OKLCHoklch(42.97% 0.186 304.6)
XYZxyz(12.5964, 6.7081, 33.4253)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68249F #5B9F24
analogous
#2B249F #68249F #9F2498
triadic
#68249F #9F6824 #249F68
tetradic
#68249F #9F2B24 #5B9F24 #24989F
square
#68249F #9F2B24 #5B9F24 #24989F
split-complementary
#68249F #989F24 #249F2B
monochromatic
#270D3B #47196D #68249F #8930D0 #A562DB

Accessibility & contrast

On white

8.97
#68249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#68249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68249F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68249F#FFFFFF#000000##FFFFFF
##68249F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#5D4360
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68249f;
/* rgb */ color: rgb(104, 36, 159);
/* oklch */ color: oklch(43.0% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#9866bc',
    500: '#68249f',
    950: '#000000',
  },
}
SCSS
$custom: #68249f;
$custom-light: #9866bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68249f",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 273.171,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.42971,
    "c": 0.18577,
    "h": 304.6
  },
  "luminance": 0.06708
}

Semantic roles & 50–950 ramp

primary
#68249F
secondary
#8AC15E
accent
#E6428B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68249F

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

Preview Lab → · Contrast checker → · Palette generator →

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