#6234AD#6234AD

#6234AD is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.182 H 295.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6234AD
RGBrgb(98, 52, 173)
HSLhsl(263, 54%, 44%)
HSVhsv(263, 70%, 68%)
CMYKcmyk(43.4%, 69.9%, 0%, 32.2%)
CIE-LABlab(34.13, 46.77, -57.24)
CIE-LCHlch(34.13, 73.91, 309.25°)
OKLaboklab(45.28% 0.0786 -0.1637)
OKLCHoklch(45.28% 0.182 295.7)
XYZxyz(13.8058, 8.0695, 40.3572)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6234AD #7FAD34
analogous
#3443AD #6234AD #9F34AD
triadic
#6234AD #AD6234 #34AD62
tetradic
#6234AD #AD3443 #7FAD34 #34AD9F
square
#6234AD #AD3443 #7FAD34 #34AD9F
split-complementary
#6234AD #AD9F34 #43AD34
monochromatic
#2D184F #47267E #6234AD #8153CB #A382D9

Accessibility & contrast

On white

8.03
#6234AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6234AD
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6234AD#FFFFFF#000000##FFFFFF
##6234AD1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#4E526C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6234ad;
/* rgb */ color: rgb(98, 52, 173);
/* oklch */ color: oklch(45.3% 0.182 295.7);
Tailwind
colors: {
  custom: {
    50: '#956fc6',
    500: '#6234ad',
    950: '#000000',
  },
}
SCSS
$custom: #6234ad;
$custom-light: #956fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6234ad",
  "rgb": {
    "r": 98,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 262.81,
    "s": 53.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45275,
    "c": 0.18156,
    "h": 295.7
  },
  "luminance": 0.0807
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6234AD

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

Preview Lab → · Contrast checker → · Palette generator →

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