#68229C#68229C

#68229C is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.185 H 305.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#68229C
RGBrgb(104, 34, 156)
HSLhsl(274, 64%, 37%)
HSVhsv(274, 78%, 61%)
CMYKcmyk(33.3%, 78.2%, 0%, 38.8%)
CIE-LABlab(30.61, 51.86, -52.68)
CIE-LCHlch(30.61, 73.93, 314.55°)
OKLaboklab(42.53% 0.1081 -0.1499)
OKLCHoklch(42.53% 0.185 305.8)
XYZxyz(12.2804, 6.4875, 32.0513)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68229C #569C22
analogous
#2B229C #68229C #9C2293
triadic
#68229C #9C6822 #229C68
tetradic
#68229C #9C2B22 #569C22 #22939C
square
#68229C #9C2B22 #569C22 #22939C
split-complementary
#68229C #939C22 #229C2B
monochromatic
#250C38 #47176A #68229C #892DCE #A65DDC

Accessibility & contrast

On white

9.14
#68229C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#68229C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68229C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68229C#FFFFFF#000000##FFFFFF
##68229C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#5E415E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68229c;
/* rgb */ color: rgb(104, 34, 156);
/* oklch */ color: oklch(42.5% 0.185 305.8);
Tailwind
colors: {
  custom: {
    50: '#9865ba',
    500: '#68229c',
    950: '#000000',
  },
}
SCSS
$custom: #68229c;
$custom-light: #9865ba;
$custom-dark: #000000;
JSON
{
  "hex": "#68229c",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 156
  },
  "hsl": {
    "h": 274.426,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42528,
    "c": 0.18485,
    "h": 305.8
  },
  "luminance": 0.06487
}

Semantic roles & 50–950 ramp

primary
#68229C
secondary
#85C05A
accent
#E74188
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68229C

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

Preview Lab → · Contrast checker → · Palette generator →

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