#68239F#68239F

#68239F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.187 H 304.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#68239F
RGBrgb(104, 35, 159)
HSLhsl(273, 64%, 38%)
HSVhsv(273, 78%, 62%)
CMYKcmyk(34.6%, 78%, 0%, 37.6%)
CIE-LABlab(30.99, 52.16, -53.88)
CIE-LCHlch(30.99, 75.00, 314.07°)
OKLaboklab(42.87% 0.1065 -0.1535)
OKLCHoklch(42.87% 0.187 304.8)
XYZxyz(12.5665, 6.6484, 33.4154)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68239F #5A9F23
analogous
#2A239F #68239F #9F2398
triadic
#68239F #9F6823 #239F68
tetradic
#68239F #9F2A23 #5A9F23 #23989F
square
#68239F #9F2A23 #5A9F23 #23989F
split-complementary
#68239F #989F23 #239F2A
monochromatic
#260D3B #47186D #68239F #892ED1 #A560DC

Accessibility & contrast

On white

9.01
#68239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#68239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68239F
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68239F#FFFFFF#000000##FFFFFF
##68239F1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#5D4360
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68239f;
/* rgb */ color: rgb(104, 35, 159);
/* oklch */ color: oklch(42.9% 0.187 304.8);
Tailwind
colors: {
  custom: {
    50: '#9966bc',
    500: '#68239f',
    950: '#000000',
  },
}
SCSS
$custom: #68239f;
$custom-light: #9966bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68239f",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 273.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42872,
    "c": 0.18681,
    "h": 304.8
  },
  "luminance": 0.06648
}

Semantic roles & 50–950 ramp

primary
#68239F
secondary
#89C15D
accent
#E7418B
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68239F

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

Preview Lab → · Contrast checker → · Palette generator →

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