#68248E#68248E

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

Color values

HEX#68248E
RGBrgb(104, 36, 142)
HSLhsl(278, 60%, 35%)
HSVhsv(278, 75%, 56%)
CMYKcmyk(26.8%, 74.6%, 0%, 44.3%)
CIE-LABlab(29.81, 47.84, -45.39)
CIE-LCHlch(29.81, 65.95, 316.50°)
OKLaboklab(41.62% 0.109 -0.1285)
OKLCHoklch(41.62% 0.169 310.3)
XYZxyz(11.2213, 6.1581, 26.1834)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68248E #4A8E24
analogous
#33248E #68248E #8E247F
triadic
#68248E #8E6824 #248E68
tetradic
#68248E #8E3324 #4A8E24 #247F8E
square
#68248E #8E3324 #4A8E24 #247F8E
split-complementary
#68248E #7F8E24 #248E33
monochromatic
#200B2C #44185D #68248E #8C30BF #A858D5

Accessibility & contrast

On white

9.41
#68248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#68248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68248E
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68248E#FFFFFF#000000##FFFFFF
##68248E1.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)
#004391
Deuteranopia (green-blind)
#0E478C
Tritanopia (blue-blind)
#633C57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68248e;
/* rgb */ color: rgb(104, 36, 142);
/* oklch */ color: oklch(41.6% 0.169 310.3);
Tailwind
colors: {
  custom: {
    50: '#9766b0',
    500: '#68248e',
    950: '#000000',
  },
}
SCSS
$custom: #68248e;
$custom-light: #9766b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68248e",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 278.491,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4162,
    "c": 0.16857,
    "h": 310.3
  },
  "luminance": 0.06158
}

Semantic roles & 50–950 ramp

primary
#68248E
secondary
#79B955
accent
#E3457E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68248E

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

Preview Lab → · Contrast checker → · Palette generator →

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