#68238C#68238C

#68238C is a dark, vivid violet. Relative luminance 0.060; OKLCH L 41.4% C 0.168 H 311.1°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#68238C
RGBrgb(104, 35, 140)
HSLhsl(279, 60%, 34%)
HSVhsv(279, 75%, 55%)
CMYKcmyk(25.7%, 75%, 0%, 45.1%)
CIE-LABlab(29.51, 47.81, -44.64)
CIE-LCHlch(29.51, 65.41, 316.97°)
OKLaboklab(41.36% 0.1104 -0.1263)
OKLCHoklch(41.36% 0.168 311.1)
XYZxyz(11.0427, 6.0388, 25.3898)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68238C #478C23
analogous
#34238C #68238C #8C237C
triadic
#68238C #8C6823 #238C68
tetradic
#68238C #8C3423 #478C23 #237C8C
square
#68238C #8C3423 #478C23 #237C8C
split-complementary
#68238C #7C8C23 #238C34
monochromatic
#1F0B2A #44175B #68238C #8C2FBD #A955D4

Accessibility & contrast

On white

9.51
#68238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#68238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68238C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68238C#FFFFFF#000000##FFFFFF
##68238C1.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#11478A
Tritanopia (blue-blind)
#633B56
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #68238c;
/* rgb */ color: rgb(104, 35, 140);
/* oklch */ color: oklch(41.4% 0.168 311.1);
Tailwind
colors: {
  custom: {
    50: '#9765ae',
    500: '#68238c',
    950: '#000000',
  },
}
SCSS
$custom: #68238c;
$custom-light: #9765ae;
$custom-dark: #000000;
JSON
{
  "hex": "#68238c",
  "rgb": {
    "r": 104,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 279.429,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.41362,
    "c": 0.16776,
    "h": 311.1
  },
  "luminance": 0.06039
}

Semantic roles & 50–950 ramp

primary
#68238C
secondary
#75B852
accent
#E3457B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #68238C

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

Preview Lab → · Contrast checker → · Palette generator →

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