#6230B3#6230B3

#6230B3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.193 H 294.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6230B3
RGBrgb(98, 48, 179)
HSLhsl(263, 58%, 45%)
HSVhsv(263, 73%, 70%)
CMYKcmyk(45.3%, 73.2%, 0%, 29.8%)
CIE-LABlab(33.91, 50.36, -61.17)
CIE-LCHlch(33.91, 79.23, 309.46°)
OKLaboklab(45.27% 0.0812 -0.1752)
OKLCHoklch(45.27% 0.193 294.9)
XYZxyz(14.2284, 7.9649, 43.4268)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230B3 #81B330
analogous
#303FB3 #6230B3 #A430B3
triadic
#6230B3 #B36230 #30B362
tetradic
#6230B3 #B3303F #81B330 #30B3A4
square
#6230B3 #B3303F #81B330 #30B3A4
split-complementary
#6230B3 #B3A430 #3FB330
monochromatic
#2D1652 #482383 #6230B3 #8150D0 #A480DD

Accessibility & contrast

On white

8.10
#6230B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6230B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230B3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230B3#FFFFFF#000000##FFFFFF
##6230B31.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#4B526F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6230b3;
/* rgb */ color: rgb(98, 48, 179);
/* oklch */ color: oklch(45.3% 0.193 294.9);
Tailwind
colors: {
  custom: {
    50: '#966dcb',
    500: '#6230b3',
    950: '#000000',
  },
}
SCSS
$custom: #6230b3;
$custom-light: #966dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6230b3",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 262.901,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45274,
    "c": 0.19311,
    "h": 294.9
  },
  "luminance": 0.07965
}

Semantic roles & 50–950 ramp

primary
#6230B3
secondary
#A9C679
accent
#E147A6
background
#F9F6FC
surface
#F2ECF9
border
#CCC7D2
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6230B3

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

Preview Lab → · Contrast checker → · Palette generator →

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