#6230B1#6230B1

#6230B1 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.1% C 0.191 H 295.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#6230B1
RGBrgb(98, 48, 177)
HSLhsl(263, 57%, 44%)
HSVhsv(263, 73%, 69%)
CMYKcmyk(44.6%, 72.9%, 0%, 30.6%)
CIE-LABlab(33.74, 49.83, -60.25)
CIE-LCHlch(33.74, 78.19, 309.59°)
OKLaboklab(45.1% 0.0817 -0.1725)
OKLCHoklch(45.1% 0.191 295.3)
XYZxyz(14.0276, 7.8845, 42.3692)
Luminance0.0789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6230B1 #7FB130
analogous
#303FB1 #6230B1 #A330B1
triadic
#6230B1 #B16230 #30B162
tetradic
#6230B1 #B1303F #7FB130 #30B1A3
square
#6230B1 #B1303F #7FB130 #30B1A3
split-complementary
#6230B1 #B1A330 #3FB130
monochromatic
#2D1651 #472381 #6230B1 #814FCF #A37FDC

Accessibility & contrast

On white

8.15
#6230B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#6230B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6230B1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6230B1#FFFFFF#000000##FFFFFF
##6230B11.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#4C516E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6230b1;
/* rgb */ color: rgb(98, 48, 177);
/* oklch */ color: oklch(45.1% 0.191 295.3);
Tailwind
colors: {
  custom: {
    50: '#966dc9',
    500: '#6230b1',
    950: '#000000',
  },
}
SCSS
$custom: #6230b1;
$custom-light: #966dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6230b1",
  "rgb": {
    "r": 98,
    "g": 48,
    "b": 177
  },
  "hsl": {
    "h": 263.256,
    "s": 57.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.19087,
    "h": 295.3
  },
  "luminance": 0.07885
}

Semantic roles & 50–950 ramp

primary
#6230B1
secondary
#A7C578
accent
#E147A5
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6230B1

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

Preview Lab → · Contrast checker → · Palette generator →

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