#68239E#68239E

#68239E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.186 H 305.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#68239E
RGBrgb(104, 35, 158)
HSLhsl(274, 64%, 38%)
HSVhsv(274, 78%, 62%)
CMYKcmyk(34.2%, 77.8%, 0%, 38%)
CIE-LABlab(30.91, 51.93, -53.41)
CIE-LCHlch(30.91, 74.49, 314.20°)
OKLaboklab(42.79% 0.1067 -0.1521)
OKLCHoklch(42.79% 0.186 305.1)
XYZxyz(12.4801, 6.6138, 32.9602)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68239E #599E23
analogous
#2B239E #68239E #9E2396
triadic
#68239E #9E6823 #239E68
tetradic
#68239E #9E2B23 #599E23 #23969E
square
#68239E #9E2B23 #599E23 #23969E
split-complementary
#68239E #969E23 #239E2B
monochromatic
#260D3A #47186C #68239E #892ED0 #A560DC

Accessibility & contrast

On white

9.04
#68239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#68239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68239E
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68239E#FFFFFF#000000##FFFFFF
##68239E1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#5E4260
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68239e;
/* rgb */ color: rgb(104, 35, 158);
/* oklch */ color: oklch(42.8% 0.186 305.1);
Tailwind
colors: {
  custom: {
    50: '#9866bc',
    500: '#68239e',
    950: '#000000',
  },
}
SCSS
$custom: #68239e;
$custom-light: #9866bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68239e",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 273.659,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4279,
    "c": 0.18581,
    "h": 305.1
  },
  "luminance": 0.06614
}

Semantic roles & 50–950 ramp

primary
#68239E
secondary
#88C15C
accent
#E7418A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68239E

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

Preview Lab → · Contrast checker → · Palette generator →

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