#6023A7#6023A7

#6023A7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.194 H 298.5°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6023A7
RGBrgb(96, 35, 167)
HSLhsl(268, 65%, 40%)
HSVhsv(268, 79%, 65%)
CMYKcmyk(42.5%, 79%, 0%, 34.5%)
CIE-LABlab(30.59, 52.76, -59.43)
CIE-LCHlch(30.59, 79.47, 311.60°)
OKLaboklab(42.57% 0.0925 -0.1701)
OKLCHoklch(42.57% 0.194 298.5)
XYZxyz(12.3982, 6.4787, 37.1490)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6023A7 #6AA723
analogous
#2328A7 #6023A7 #A223A7
triadic
#6023A7 #A76023 #23A760
tetradic
#6023A7 #A72328 #6AA723 #23A7A2
square
#6023A7 #A72328 #6AA723 #23A7A2
split-complementary
#6023A7 #A7A223 #28A723
monochromatic
#260E42 #431874 #6023A7 #7D33D4 #9E66DF

Accessibility & contrast

On white

9.15
#6023A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6023A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6023A7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6023A7#FFFFFF#000000##FFFFFF
##6023A71.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#4E4765
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6023a7;
/* rgb */ color: rgb(96, 35, 167);
/* oklch */ color: oklch(42.6% 0.194 298.5);
Tailwind
colors: {
  custom: {
    50: '#9466c2',
    500: '#6023a7',
    950: '#000000',
  },
}
SCSS
$custom: #6023a7;
$custom-light: #9466c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6023a7",
  "rgb": {
    "r": 96,
    "g": 35,
    "b": 167
  },
  "hsl": {
    "h": 267.727,
    "s": 65.347,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42568,
    "c": 0.19359,
    "h": 298.5
  },
  "luminance": 0.06479
}

Semantic roles & 50–950 ramp

primary
#6023A7
secondary
#97C461
accent
#E83F9A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6023A7

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

Preview Lab → · Contrast checker → · Palette generator →

#6023A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva