#68239B#68239B

#68239B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.183 H 306.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#68239B
RGBrgb(104, 35, 155)
HSLhsl(275, 63%, 37%)
HSVhsv(275, 77%, 61%)
CMYKcmyk(32.9%, 77.4%, 0%, 39.2%)
CIE-LABlab(30.67, 51.23, -51.98)
CIE-LCHlch(30.67, 72.98, 314.59°)
OKLaboklab(42.54% 0.1074 -0.1479)
OKLCHoklch(42.54% 0.183 306)
XYZxyz(12.2250, 6.5118, 31.6169)
Luminance0.0651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68239B #569B23
analogous
#2C239B #68239B #9B2392
triadic
#68239B #9B6823 #239B68
tetradic
#68239B #9B2C23 #569B23 #23929B
square
#68239B #9B2C23 #569B23 #23929B
split-complementary
#68239B #929B23 #239B2C
monochromatic
#250C37 #471869 #68239B #892ECD #A65EDB

Accessibility & contrast

On white

9.12
#68239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#68239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68239B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68239B#FFFFFF#000000##FFFFFF
##68239B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#5F415E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68239b;
/* rgb */ color: rgb(104, 35, 155);
/* oklch */ color: oklch(42.5% 0.183 306.0);
Tailwind
colors: {
  custom: {
    50: '#9866b9',
    500: '#68239b',
    950: '#000000',
  },
}
SCSS
$custom: #68239b;
$custom-light: #9866b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68239b",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 274.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42544,
    "c": 0.1828,
    "h": 306
  },
  "luminance": 0.06512
}

Semantic roles & 50–950 ramp

primary
#68239B
secondary
#85BF5A
accent
#E64288
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68239B

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

Preview Lab → · Contrast checker → · Palette generator →

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