#68238E#68238E

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

Color values

HEX#68238E
RGBrgb(104, 35, 142)
HSLhsl(279, 60%, 35%)
HSVhsv(279, 75%, 56%)
CMYKcmyk(26.8%, 75.4%, 0%, 44.3%)
CIE-LABlab(29.66, 48.26, -45.63)
CIE-LCHlch(29.66, 66.42, 316.60°)
OKLaboklab(41.52% 0.1101 -0.1292)
OKLCHoklch(41.52% 0.17 310.4)
XYZxyz(11.1915, 6.0984, 26.1735)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68238E #498E23
analogous
#33238E #68238E #8E237E
triadic
#68238E #8E6823 #238E68
tetradic
#68238E #8E3323 #498E23 #237E8E
square
#68238E #8E3323 #498E23 #237E8E
split-complementary
#68238E #7E8E23 #238E33
monochromatic
#200B2C #44175D #68238E #8C2FBF #A856D5

Accessibility & contrast

On white

9.46
#68238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#68238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68238E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68238E#FFFFFF#000000##FFFFFF
##68238E1.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)
#004391
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#633C57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68238e;
/* rgb */ color: rgb(104, 35, 142);
/* oklch */ color: oklch(41.5% 0.170 310.4);
Tailwind
colors: {
  custom: {
    50: '#9765b0',
    500: '#68238e',
    950: '#000000',
  },
}
SCSS
$custom: #68238e;
$custom-light: #9765b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68238e",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 278.692,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.16975,
    "h": 310.4
  },
  "luminance": 0.06098
}

Semantic roles & 50–950 ramp

primary
#68238E
secondary
#78B953
accent
#E4447D
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68238E

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

Preview Lab → · Contrast checker → · Palette generator →

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