#68229B#68229B

#68229B is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.184 H 306.1°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#68229B
RGBrgb(104, 34, 155)
HSLhsl(275, 64%, 37%)
HSVhsv(275, 78%, 61%)
CMYKcmyk(32.9%, 78.1%, 0%, 39.2%)
CIE-LABlab(30.53, 51.63, -52.20)
CIE-LCHlch(30.53, 73.42, 314.69°)
OKLaboklab(42.45% 0.1083 -0.1485)
OKLCHoklch(42.45% 0.184 306.1)
XYZxyz(12.1960, 6.4538, 31.6072)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68229B #559B22
analogous
#2C229B #68229B #9B2292
triadic
#68229B #9B6822 #229B68
tetradic
#68229B #9B2C22 #559B22 #22929B
square
#68229B #9B2C22 #559B22 #22929B
split-complementary
#68229B #929B22 #229B2C
monochromatic
#250C37 #461769 #68229B #8A2DCD #A65CDB

Accessibility & contrast

On white

9.17
#68229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#68229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68229B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68229B#FFFFFF#000000##FFFFFF
##68229B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#5F415E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #68229b;
/* rgb */ color: rgb(104, 34, 155);
/* oklch */ color: oklch(42.4% 0.184 306.1);
Tailwind
colors: {
  custom: {
    50: '#9865b9',
    500: '#68229b',
    950: '#000000',
  },
}
SCSS
$custom: #68229b;
$custom-light: #9865b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68229b",
  "rgb": {
    "r": 104,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 274.711,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42446,
    "c": 0.18385,
    "h": 306.1
  },
  "luminance": 0.06454
}

Semantic roles & 50–950 ramp

primary
#68229B
secondary
#84C059
accent
#E74187
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68229B

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

Preview Lab → · Contrast checker → · Palette generator →

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