#6239AF#6239AF

#6239AF is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.1% C 0.178 H 294.3°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6239AF
RGBrgb(98, 57, 175)
HSLhsl(261, 51%, 45%)
HSVhsv(261, 67%, 69%)
CMYKcmyk(44%, 67.4%, 0%, 31.4%)
CIE-LABlab(35.24, 44.68, -56.62)
CIE-LCHlch(35.24, 72.13, 308.28°)
OKLaboklab(46.12% 0.0731 -0.1619)
OKLCHoklch(46.12% 0.178 294.3)
XYZxyz(14.2359, 8.6177, 41.4625)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6239AF #86AF39
analogous
#394BAF #6239AF #9D39AF
triadic
#6239AF #AF6239 #39AF62
tetradic
#6239AF #AF394B #86AF39 #39AF9D
square
#6239AF #AF394B #86AF39 #39AF9D
split-complementary
#6239AF #AF9D39 #4BAF39
monochromatic
#2E1B53 #482A81 #6239AF #825BCA #A58AD9

Accessibility & contrast

On white

7.71
#6239AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6239AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6239AF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6239AF#FFFFFF#000000##FFFFFF
##6239AF1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#4D556F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6239af;
/* rgb */ color: rgb(98, 57, 175);
/* oklch */ color: oklch(46.1% 0.178 294.3);
Tailwind
colors: {
  custom: {
    50: '#9572c8',
    500: '#6239af',
    950: '#000000',
  },
}
SCSS
$custom: #6239af;
$custom-light: #9572c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6239af",
  "rgb": {
    "r": 98,
    "g": 57,
    "b": 175
  },
  "hsl": {
    "h": 260.847,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46119,
    "c": 0.17764,
    "h": 294.3
  },
  "luminance": 0.08618
}

Semantic roles & 50–950 ramp

primary
#6239AF
secondary
#ACC381
accent
#DA4DA9
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0813
muted
#7E7B82

Preview Lab

Preview with #6239AF

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

Preview Lab → · Contrast checker → · Palette generator →

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