#6230AB#6230AB

#6230AB is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.6% C 0.184 H 296.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#6230AB
RGBrgb(98, 48, 171)
HSLhsl(264, 56%, 43%)
HSVhsv(264, 72%, 67%)
CMYKcmyk(42.7%, 71.9%, 0%, 32.9%)
CIE-LABlab(33.24, 48.25, -57.48)
CIE-LCHlch(33.24, 75.05, 310.01°)
OKLaboklab(44.6% 0.0829 -0.1644)
OKLCHoklch(44.6% 0.184 296.8)
XYZxyz(13.4427, 7.6506, 39.2886)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230AB #79AB30
analogous
#303CAB #6230AB #9F30AB
triadic
#6230AB #AB6230 #30AB62
tetradic
#6230AB #AB303C #79AB30 #30AB9F
square
#6230AB #AB303C #79AB30 #30AB9F
split-complementary
#6230AB #AB9F30 #3CAB30
monochromatic
#2B154B #47237B #6230AB #804CCD #A27BDA

Accessibility & contrast

On white

8.30
#6230AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#6230AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230AB
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230AB#FFFFFF#000000##FFFFFF
##6230AB1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004DA9
Tritanopia (blue-blind)
#4F4F6A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6230ab;
/* rgb */ color: rgb(98, 48, 171);
/* oklch */ color: oklch(44.6% 0.184 296.8);
Tailwind
colors: {
  custom: {
    50: '#956dc5',
    500: '#6230ab',
    950: '#000000',
  },
}
SCSS
$custom: #6230ab;
$custom-light: #956dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6230ab",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 264.39,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.18411,
    "h": 296.8
  },
  "luminance": 0.07651
}

Semantic roles & 50–950 ramp

primary
#6230AB
secondary
#A3C374
accent
#DF48A2
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6230AB

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

Preview Lab → · Contrast checker → · Palette generator →

#6230AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva