#68248F#68248F

#68248F is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.170 H 309.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#68248F
RGBrgb(104, 36, 143)
HSLhsl(278, 60%, 35%)
HSVhsv(278, 75%, 56%)
CMYKcmyk(27.3%, 74.8%, 0%, 43.9%)
CIE-LABlab(29.88, 48.06, -45.89)
CIE-LCHlch(29.88, 66.45, 316.33°)
OKLaboklab(41.7% 0.1089 -0.13)
OKLCHoklch(41.7% 0.17 309.9)
XYZxyz(11.2967, 6.1882, 26.5806)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68248F #4B8F24
analogous
#32248F #68248F #8F2480
triadic
#68248F #8F6824 #248F68
tetradic
#68248F #8F3224 #4B8F24 #24808F
square
#68248F #8F3224 #4B8F24 #24808F
split-complementary
#68248F #808F24 #248F32
monochromatic
#210B2D #44185E #68248F #8C30C0 #A858D5

Accessibility & contrast

On white

9.39
#68248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#68248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68248F
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68248F#FFFFFF#000000##FFFFFF
##68248F1.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#0B478D
Tritanopia (blue-blind)
#623D57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68248f;
/* rgb */ color: rgb(104, 36, 143);
/* oklch */ color: oklch(41.7% 0.170 309.9);
Tailwind
colors: {
  custom: {
    50: '#9766b0',
    500: '#68248f',
    950: '#000000',
  },
}
SCSS
$custom: #68248f;
$custom-light: #9766b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68248f",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 278.131,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41697,
    "c": 0.16958,
    "h": 309.9
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#68248F
secondary
#7AB955
accent
#E3457E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68248F

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

Preview Lab → · Contrast checker → · Palette generator →

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