#68249D#68249D

#68249D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.184 H 305.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#68249D
RGBrgb(104, 36, 157)
HSLhsl(274, 63%, 38%)
HSVhsv(274, 77%, 62%)
CMYKcmyk(33.8%, 77.1%, 0%, 38.4%)
CIE-LABlab(30.97, 51.29, -52.70)
CIE-LCHlch(30.97, 73.54, 314.22°)
OKLaboklab(42.81% 0.1061 -0.15)
OKLCHoklch(42.81% 0.184 305.3)
XYZxyz(12.4242, 6.6392, 32.5187)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68249D #599D24
analogous
#2C249D #68249D #9D2495
triadic
#68249D #9D6824 #249D68
tetradic
#68249D #9D2C24 #599D24 #24959D
square
#68249D #9D2C24 #599D24 #24959D
split-complementary
#68249D #959D24 #249D2C
monochromatic
#260D39 #47196B #68249D #892FCF #A561DB

Accessibility & contrast

On white

9.02
#68249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#68249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68249D
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68249D#FFFFFF#000000##FFFFFF
##68249D1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#5E435F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68249d;
/* rgb */ color: rgb(104, 36, 157);
/* oklch */ color: oklch(42.8% 0.184 305.3);
Tailwind
colors: {
  custom: {
    50: '#9866bb',
    500: '#68249d',
    950: '#000000',
  },
}
SCSS
$custom: #68249d;
$custom-light: #9866bb;
$custom-dark: #000000;
JSON
{
  "hex": "#68249d",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 273.719,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42807,
    "c": 0.18374,
    "h": 305.3
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#68249D
secondary
#88C05D
accent
#E6428A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68249D

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

Preview Lab → · Contrast checker → · Palette generator →

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