#68229E#68229E

#68229E is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.187 H 305.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#68229E
RGBrgb(104, 34, 158)
HSLhsl(274, 65%, 38%)
HSVhsv(274, 78%, 62%)
CMYKcmyk(34.2%, 78.5%, 0%, 38%)
CIE-LABlab(30.77, 52.33, -53.63)
CIE-LCHlch(30.77, 74.93, 314.29°)
OKLaboklab(42.69% 0.1076 -0.1527)
OKLCHoklch(42.69% 0.187 305.2)
XYZxyz(12.4511, 6.5558, 32.9506)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68229E #589E22
analogous
#2A229E #68229E #9E2296
triadic
#68229E #9E6822 #229E68
tetradic
#68229E #9E2A22 #589E22 #22969E
square
#68229E #9E2A22 #589E22 #22969E
split-complementary
#68229E #969E22 #229E2A
monochromatic
#260C39 #47176C #68229E #892DD0 #A55EDC

Accessibility & contrast

On white

9.09
#68229E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#68229E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68229E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68229E#FFFFFF#000000##FFFFFF
##68229E1.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#5E425F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68229e;
/* rgb */ color: rgb(104, 34, 158);
/* oklch */ color: oklch(42.7% 0.187 305.2);
Tailwind
colors: {
  custom: {
    50: '#9965bc',
    500: '#68229e',
    950: '#000000',
  },
}
SCSS
$custom: #68229e;
$custom-light: #9965bc;
$custom-dark: #000000;
JSON
{
  "hex": "#68229e",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 158
  },
  "hsl": {
    "h": 273.871,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.18684,
    "h": 305.2
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#68229E
secondary
#87C15B
accent
#E84089
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68229E

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

Preview Lab → · Contrast checker → · Palette generator →

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