#68249B#68249B

#68249B is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.182 H 305.9°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#68249B
RGBrgb(104, 36, 155)
HSLhsl(274, 62%, 37%)
HSVhsv(274, 77%, 61%)
CMYKcmyk(32.9%, 76.8%, 0%, 39.2%)
CIE-LABlab(30.81, 50.83, -51.74)
CIE-LCHlch(30.81, 72.53, 314.49°)
OKLaboklab(42.64% 0.1065 -0.1472)
OKLCHoklch(42.64% 0.182 305.9)
XYZxyz(12.2549, 6.5715, 31.6268)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#68249B #579B24
analogous
#2D249B #68249B #9B2492
triadic
#68249B #9B6824 #249B68
tetradic
#68249B #9B2D24 #579B24 #24929B
square
#68249B #9B2D24 #579B24 #24929B
split-complementary
#68249B #929B24 #249B2D
monochromatic
#250D38 #471869 #68249B #8930CD #A55FDA

Accessibility & contrast

On white

9.07
#68249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#68249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #68249B
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##68249B#FFFFFF#000000##FFFFFF
##68249B1.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004999
Tritanopia (blue-blind)
#5F425E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #68249b;
/* rgb */ color: rgb(104, 36, 155);
/* oklch */ color: oklch(42.6% 0.182 305.9);
Tailwind
colors: {
  custom: {
    50: '#9866b9',
    500: '#68249b',
    950: '#000000',
  },
}
SCSS
$custom: #68249b;
$custom-light: #9866b9;
$custom-dark: #000000;
JSON
{
  "hex": "#68249b",
  "rgb": {
    "r": 104,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 274.286,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.18172,
    "h": 305.9
  },
  "luminance": 0.06571
}

Semantic roles & 50–950 ramp

primary
#68249B
secondary
#86BF5C
accent
#E54288
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #68249B

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

Preview Lab → · Contrast checker → · Palette generator →

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