#68239D#68239D

#68239D is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.185 H 305.4°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#68239D
RGBrgb(104, 35, 157)
HSLhsl(274, 64%, 38%)
HSVhsv(274, 78%, 62%)
CMYKcmyk(33.8%, 77.7%, 0%, 38.4%)
CIE-LABlab(30.83, 51.70, -52.93)
CIE-LCHlch(30.83, 73.99, 314.32°)
OKLaboklab(42.71% 0.107 -0.1507)
OKLCHoklch(42.71% 0.185 305.4)
XYZxyz(12.3944, 6.5795, 32.5088)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68239D #589D23
analogous
#2B239D #68239D #9D2395
triadic
#68239D #9D6823 #239D68
tetradic
#68239D #9D2B23 #589D23 #23959D
square
#68239D #9D2B23 #589D23 #23959D
split-complementary
#68239D #959D23 #239D2B
monochromatic
#260D39 #47186B #68239D #892ECF #A55FDB

Accessibility & contrast

On white

9.07
#68239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68239D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68239D#FFFFFF#000000##FFFFFF
##68239D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#5E425F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68239d;
/* rgb */ color: rgb(104, 35, 157);
/* oklch */ color: oklch(42.7% 0.185 305.4);
Tailwind
colors: {
  custom: {
    50: '#9866bb',
    500: '#68239d',
    950: '#000000',
  },
}
SCSS
$custom: #68239d;
$custom-light: #9866bb;
$custom-dark: #000000;
JSON
{
  "hex": "#68239d",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 273.934,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42707,
    "c": 0.18481,
    "h": 305.4
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#68239D
secondary
#87C05C
accent
#E74189
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68239D

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

Preview Lab → · Contrast checker → · Palette generator →

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