#68238D#68238D

#68238D is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.4% C 0.169 H 310.8°. Best body text is #FFFFFF at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#68238D
RGBrgb(104, 35, 141)
HSLhsl(279, 60%, 35%)
HSVhsv(279, 75%, 55%)
CMYKcmyk(26.2%, 75.2%, 0%, 44.7%)
CIE-LABlab(29.58, 48.04, -45.13)
CIE-LCHlch(29.58, 65.91, 316.78°)
OKLaboklab(41.44% 0.1102 -0.1278)
OKLCHoklch(41.44% 0.169 310.8)
XYZxyz(11.1167, 6.0685, 25.7799)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68238D #488D23
analogous
#33238D #68238D #8D237D
triadic
#68238D #8D6823 #238D68
tetradic
#68238D #8D3323 #488D23 #237D8D
square
#68238D #8D3323 #488D23 #237D8D
split-complementary
#68238D #7D8D23 #238D33
monochromatic
#200B2B #44175C #68238D #8C2FBE #A855D5

Accessibility & contrast

On white

9.49
#68238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#68238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68238D
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68238D#FFFFFF#000000##FFFFFF
##68238D1.009.492.219.49
#FFFFFF9.491.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#0F478B
Tritanopia (blue-blind)
#633B56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68238d;
/* rgb */ color: rgb(104, 35, 141);
/* oklch */ color: oklch(41.4% 0.169 310.8);
Tailwind
colors: {
  custom: {
    50: '#9765af',
    500: '#68238d',
    950: '#000000',
  },
}
SCSS
$custom: #68238d;
$custom-light: #9765af;
$custom-dark: #000000;
JSON
{
  "hex": "#68238d",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 279.057,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41439,
    "c": 0.16875,
    "h": 310.8
  },
  "luminance": 0.06068
}

Semantic roles & 50–950 ramp

primary
#68238D
secondary
#76B953
accent
#E3447C
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68238D

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

Preview Lab → · Contrast checker → · Palette generator →

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