#68248B#68248B

#68248B is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.166 H 311.4°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#68248B
RGBrgb(104, 36, 139)
HSLhsl(280, 59%, 34%)
HSVhsv(280, 74%, 55%)
CMYKcmyk(25.2%, 74.1%, 0%, 45.5%)
CIE-LABlab(29.59, 47.16, -43.89)
CIE-LCHlch(29.59, 64.43, 317.06°)
OKLaboklab(41.39% 0.1095 -0.1241)
OKLCHoklch(41.39% 0.166 311.4)
XYZxyz(10.9991, 6.0692, 25.0131)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68248B #478B24
analogous
#35248B #68248B #8B247B
triadic
#68248B #8B6824 #248B68
tetradic
#68248B #8B3524 #478B24 #247B8B
square
#68248B #8B3524 #478B24 #247B8B
split-complementary
#68248B #7B8B24 #248B35
monochromatic
#1F0B2A #44175A #68248B #8C31BC #A956D3

Accessibility & contrast

On white

9.49
#68248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#68248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68248B
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68248B#FFFFFF#000000##FFFFFF
##68248B1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68248b;
/* rgb */ color: rgb(104, 36, 139);
/* oklch */ color: oklch(41.4% 0.166 311.4);
Tailwind
colors: {
  custom: {
    50: '#9766ae',
    500: '#68248b',
    950: '#000000',
  },
}
SCSS
$custom: #68248b;
$custom-light: #9766ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68248b",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 279.612,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.16554,
    "h": 311.4
  },
  "luminance": 0.06069
}

Semantic roles & 50–950 ramp

primary
#68248B
secondary
#75B753
accent
#E2467B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68248B

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

Preview Lab → · Contrast checker → · Palette generator →

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