#68249C#68249C

#68249C is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.183 H 305.6°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#68249C
RGBrgb(104, 36, 156)
HSLhsl(274, 63%, 38%)
HSVhsv(274, 77%, 61%)
CMYKcmyk(33.3%, 76.9%, 0%, 38.8%)
CIE-LABlab(30.89, 51.06, -52.22)
CIE-LCHlch(30.89, 73.04, 314.35°)
OKLaboklab(42.73% 0.1063 -0.1486)
OKLCHoklch(42.73% 0.183 305.6)
XYZxyz(12.3392, 6.6052, 32.0709)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68249C #589C24
analogous
#2C249C #68249C #9C2494
triadic
#68249C #9C6824 #249C68
tetradic
#68249C #9C2C24 #589C24 #24949C
square
#68249C #9C2C24 #589C24 #24949C
split-complementary
#68249C #949C24 #249C2C
monochromatic
#260D39 #47196A #68249C #892FCE #A560DA

Accessibility & contrast

On white

9.05
#68249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#68249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68249C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68249C#FFFFFF#000000##FFFFFF
##68249C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#5E425F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68249c;
/* rgb */ color: rgb(104, 36, 156);
/* oklch */ color: oklch(42.7% 0.183 305.6);
Tailwind
colors: {
  custom: {
    50: '#9866ba',
    500: '#68249c',
    950: '#000000',
  },
}
SCSS
$custom: #68249c;
$custom-light: #9866ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68249c",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 274,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42725,
    "c": 0.18273,
    "h": 305.6
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#68249C
secondary
#87BF5C
accent
#E64289
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68249C

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

Preview Lab → · Contrast checker → · Palette generator →

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