#6234AC#6234AC

#6234AC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.2% C 0.180 H 295.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6234AC
RGBrgb(98, 52, 172)
HSLhsl(263, 54%, 44%)
HSVhsv(263, 70%, 67%)
CMYKcmyk(43%, 69.8%, 0%, 32.5%)
CIE-LABlab(34.05, 46.50, -56.77)
CIE-LCHlch(34.05, 73.38, 309.32°)
OKLaboklab(45.19% 0.0788 -0.1623)
OKLCHoklch(45.19% 0.18 295.9)
XYZxyz(13.7094, 8.0309, 39.8495)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234AC #7EAC34
analogous
#3442AC #6234AC #9E34AC
triadic
#6234AC #AC6234 #34AC62
tetradic
#6234AC #AC3442 #7EAC34 #34AC9E
square
#6234AC #AC3442 #7EAC34 #34AC9E
split-complementary
#6234AC #AC9E34 #42AC34
monochromatic
#2C184E #47267D #6234AC #8152CB #A381D9

Accessibility & contrast

On white

8.06
#6234AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6234AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6234AC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234AC#FFFFFF#000000##FFFFFF
##6234AC1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#4E516C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6234ac;
/* rgb */ color: rgb(98, 52, 172);
/* oklch */ color: oklch(45.2% 0.180 295.9);
Tailwind
colors: {
  custom: {
    50: '#956fc6',
    500: '#6234ac',
    950: '#000000',
  },
}
SCSS
$custom: #6234ac;
$custom-light: #956fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6234ac",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 263,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45193,
    "c": 0.18041,
    "h": 295.9
  },
  "luminance": 0.08031
}

Semantic roles & 50–950 ramp

primary
#6234AC
secondary
#A6C279
accent
#DD4BA5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6234AC

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

Preview Lab → · Contrast checker → · Palette generator →

#6234AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva