#68239C#68239C

#68239C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.184 H 305.7°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#68239C
RGBrgb(104, 35, 156)
HSLhsl(274, 63%, 37%)
HSVhsv(274, 78%, 61%)
CMYKcmyk(33.3%, 77.6%, 0%, 38.8%)
CIE-LABlab(30.75, 51.47, -52.45)
CIE-LCHlch(30.75, 73.49, 314.45°)
OKLaboklab(42.63% 0.1072 -0.1493)
OKLCHoklch(42.63% 0.184 305.7)
XYZxyz(12.3094, 6.5455, 32.0610)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68239C #579C23
analogous
#2C239C #68239C #9C2394
triadic
#68239C #9C6823 #239C68
tetradic
#68239C #9C2C23 #579C23 #23949C
square
#68239C #9C2C23 #579C23 #23949C
split-complementary
#68239C #949C23 #239C2C
monochromatic
#250D38 #47186A #68239C #892ECE #A55EDB

Accessibility & contrast

On white

9.09
#68239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#68239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68239C
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68239C#FFFFFF#000000##FFFFFF
##68239C1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68239c;
/* rgb */ color: rgb(104, 35, 156);
/* oklch */ color: oklch(42.6% 0.184 305.7);
Tailwind
colors: {
  custom: {
    50: '#9866ba',
    500: '#68239c',
    950: '#000000',
  },
}
SCSS
$custom: #68239c;
$custom-light: #9866ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68239c",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 274.215,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.18381,
    "h": 305.7
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

primary
#68239C
secondary
#86C05B
accent
#E64188
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68239C

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

Preview Lab → · Contrast checker → · Palette generator →

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