#68229D#68229D

#68229D is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.186 H 305.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#68229D
RGBrgb(104, 34, 157)
HSLhsl(274, 64%, 37%)
HSVhsv(274, 78%, 62%)
CMYKcmyk(33.8%, 78.3%, 0%, 38.4%)
CIE-LABlab(30.69, 52.10, -53.16)
CIE-LCHlch(30.69, 74.43, 314.42°)
OKLaboklab(42.61% 0.1079 -0.1514)
OKLCHoklch(42.61% 0.186 305.5)
XYZxyz(12.3654, 6.5215, 32.4991)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68229D #579D22
analogous
#2A229D #68229D #9D2295
triadic
#68229D #9D6822 #229D68
tetradic
#68229D #9D2A22 #579D22 #22959D
square
#68229D #9D2A22 #579D22 #22959D
split-complementary
#68229D #959D22 #229D2A
monochromatic
#250C38 #47176B #68229D #892DCF #A55DDC

Accessibility & contrast

On white

9.11
#68229D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #68229D
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68229D#FFFFFF#000000##FFFFFF
##68229D1.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A0
Deuteranopia (green-blind)
#00489B
Tritanopia (blue-blind)
#5E425F
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68229d;
/* rgb */ color: rgb(104, 34, 157);
/* oklch */ color: oklch(42.6% 0.186 305.5);
Tailwind
colors: {
  custom: {
    50: '#9865bb',
    500: '#68229d',
    950: '#000000',
  },
}
SCSS
$custom: #68229d;
$custom-light: #9865bb;
$custom-dark: #000000;
JSON
{
  "hex": "#68229d",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 157
  },
  "hsl": {
    "h": 274.146,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42611,
    "c": 0.18585,
    "h": 305.5
  },
  "luminance": 0.06521
}

Semantic roles & 50–950 ramp

primary
#68229D
secondary
#86C15A
accent
#E74088
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68229D

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

Preview Lab → · Contrast checker → · Palette generator →

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