#6239B3#6239B3

#6239B3 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.4% C 0.182 H 293.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#6239B3
RGBrgb(98, 57, 179)
HSLhsl(260, 52%, 46%)
HSVhsv(260, 68%, 70%)
CMYKcmyk(45.3%, 68.2%, 0%, 29.8%)
CIE-LABlab(35.55, 45.78, -58.49)
CIE-LCHlch(35.55, 74.28, 308.05°)
OKLaboklab(46.44% 0.0726 -0.1674)
OKLCHoklch(46.44% 0.182 293.4)
XYZxyz(14.6346, 8.7772, 43.5622)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239B3 #8AB339
analogous
#394DB3 #6239B3 #9F39B3
triadic
#6239B3 #B36239 #39B362
tetradic
#6239B3 #B3394D #8AB339 #39B39F
square
#6239B3 #B3394D #8AB339 #39B39F
split-complementary
#6239B3 #B39F39 #4DB339
monochromatic
#2F1B56 #492A85 #6239B3 #835ECC #A68CDA

Accessibility & contrast

On white

7.62
#6239B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#6239B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239B3
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239B3#FFFFFF#000000##FFFFFF
##6239B31.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#4B5771
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6239b3;
/* rgb */ color: rgb(98, 57, 179);
/* oklch */ color: oklch(46.4% 0.182 293.4);
Tailwind
colors: {
  custom: {
    50: '#9572cb',
    500: '#6239b3',
    950: '#000000',
  },
}
SCSS
$custom: #6239b3;
$custom-light: #9572cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6239b3",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 260.164,
    "s": 51.695,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46443,
    "c": 0.18242,
    "h": 293.4
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#6239B3
secondary
#AFC583
accent
#DB4DAB
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6239B3

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

Preview Lab → · Contrast checker → · Palette generator →

#6239B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva