#68229F#68229F

#68229F is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.188 H 304.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#68229F
RGBrgb(104, 34, 159)
HSLhsl(274, 65%, 38%)
HSVhsv(274, 79%, 62%)
CMYKcmyk(34.6%, 78.6%, 0%, 37.6%)
CIE-LABlab(30.86, 52.56, -54.11)
CIE-LCHlch(30.86, 75.43, 314.17°)
OKLaboklab(42.78% 0.1074 -0.1541)
OKLCHoklch(42.78% 0.188 304.9)
XYZxyz(12.5375, 6.5904, 33.4057)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68229F #599F22
analogous
#29229F #68229F #9F2297
triadic
#68229F #9F6822 #229F68
tetradic
#68229F #9F2922 #599F22 #22979F
square
#68229F #9F2922 #599F22 #22979F
split-complementary
#68229F #979F22 #229F29
monochromatic
#260C3A #47176D #68229F #892DD1 #A55FDD

Accessibility & contrast

On white

9.06
#68229F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#68229F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68229F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68229F#FFFFFF#000000##FFFFFF
##68229F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #68229f;
/* rgb */ color: rgb(104, 34, 159);
/* oklch */ color: oklch(42.8% 0.188 304.9);
Tailwind
colors: {
  custom: {
    50: '#9966bc',
    500: '#68229f',
    950: '#000000',
  },
}
SCSS
$custom: #68229f;
$custom-light: #9966bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68229f",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 159
  },
  "hsl": {
    "h": 273.6,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.42776,
    "c": 0.18784,
    "h": 304.9
  },
  "luminance": 0.0659
}

Semantic roles & 50–950 ramp

primary
#68229F
secondary
#88C15B
accent
#E8408A
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68229F

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

Preview Lab → · Contrast checker → · Palette generator →

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