#68238F#68238F

#68238F is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.171 H 310.1°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#68238F
RGBrgb(104, 35, 143)
HSLhsl(278, 61%, 35%)
HSVhsv(278, 76%, 56%)
CMYKcmyk(27.3%, 75.5%, 0%, 43.9%)
CIE-LABlab(29.73, 48.49, -46.13)
CIE-LCHlch(29.73, 66.92, 316.43°)
OKLaboklab(41.59% 0.1099 -0.1307)
OKLCHoklch(41.59% 0.171 310.1)
XYZxyz(11.2669, 6.1285, 26.5707)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68238F #4A8F23
analogous
#32238F #68238F #8F2380
triadic
#68238F #8F6823 #238F68
tetradic
#68238F #8F3223 #4A8F23 #23808F
square
#68238F #8F3223 #4A8F23 #23808F
split-complementary
#68238F #808F23 #238F32
monochromatic
#200B2D #44175E #68238F #8C2FC0 #A857D6

Accessibility & contrast

On white

9.44
#68238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#68238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68238F
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68238F#FFFFFF#000000##FFFFFF
##68238F1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#09478D
Tritanopia (blue-blind)
#623C57
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68238f;
/* rgb */ color: rgb(104, 35, 143);
/* oklch */ color: oklch(41.6% 0.171 310.1);
Tailwind
colors: {
  custom: {
    50: '#9765b0',
    500: '#68238f',
    950: '#000000',
  },
}
SCSS
$custom: #68238f;
$custom-light: #9765b0;
$custom-dark: #000000;
JSON
{
  "hex": "#68238f",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 278.333,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41592,
    "c": 0.17075,
    "h": 310.1
  },
  "luminance": 0.06128
}

Semantic roles & 50–950 ramp

primary
#68238F
secondary
#79BA54
accent
#E4447E
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #68238F

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

Preview Lab → · Contrast checker → · Palette generator →

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