#68248C#68248C

#68248C is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.167 H 311.0°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#68248C
RGBrgb(104, 36, 140)
HSLhsl(279, 59%, 35%)
HSVhsv(279, 74%, 55%)
CMYKcmyk(25.7%, 74.3%, 0%, 45.1%)
CIE-LABlab(29.66, 47.39, -44.39)
CIE-LCHlch(29.66, 64.93, 316.87°)
OKLaboklab(41.47% 0.1094 -0.1256)
OKLCHoklch(41.47% 0.167 311)
XYZxyz(11.0725, 6.0985, 25.3997)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68248C #488C24
analogous
#34248C #68248C #8C247C
triadic
#68248C #8C6824 #248C68
tetradic
#68248C #8C3424 #488C24 #247C8C
square
#68248C #8C3424 #488C24 #247C8C
split-complementary
#68248C #7C8C24 #248C34
monochromatic
#200B2B #44175B #68248C #8C31BD #A857D4

Accessibility & contrast

On white

9.46
#68248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#68248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68248C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68248C#FFFFFF#000000##FFFFFF
##68248C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#12478A
Tritanopia (blue-blind)
#633B56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68248c;
/* rgb */ color: rgb(104, 36, 140);
/* oklch */ color: oklch(41.5% 0.167 311.0);
Tailwind
colors: {
  custom: {
    50: '#9766ae',
    500: '#68248c',
    950: '#000000',
  },
}
SCSS
$custom: #68248c;
$custom-light: #9766ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68248c",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 279.231,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41468,
    "c": 0.16655,
    "h": 311
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#68248C
secondary
#76B854
accent
#E2467C
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68248C

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

Preview Lab → · Contrast checker → · Palette generator →

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