#6F23A8#6F23A8

#6F23A8 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.197 H 305.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#6F23A8
RGBrgb(111, 35, 168)
HSLhsl(274, 66%, 40%)
HSVhsv(274, 79%, 66%)
CMYKcmyk(33.9%, 79.2%, 0%, 34.1%)
CIE-LABlab(32.72, 55.45, -56.46)
CIE-LCHlch(32.72, 79.14, 314.48°)
OKLaboklab(44.52% 0.1143 -0.1608)
OKLCHoklch(44.52% 0.197 305.4)
XYZxyz(14.2229, 7.4088, 37.7190)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F23A8 #5CA823
analogous
#2D23A8 #6F23A8 #A8239E
triadic
#6F23A8 #A86F23 #23A86F
tetradic
#6F23A8 #A82D23 #5CA823 #239EA8
square
#6F23A8 #A82D23 #5CA823 #239EA8
split-complementary
#6F23A8 #9EA823 #23A82D
monochromatic
#2C0E43 #4E1875 #6F23A8 #9034D5 #AB66DF

Accessibility & contrast

On white

8.46
#6F23A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F23A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F23A8
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F23A8#FFFFFF#000000##FFFFFF
##6F23A81.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAC
Deuteranopia (green-blind)
#004DA5
Tritanopia (blue-blind)
#644665
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f23a8;
/* rgb */ color: rgb(111, 35, 168);
/* oklch */ color: oklch(44.5% 0.197 305.4);
Tailwind
colors: {
  custom: {
    50: '#9e67c3',
    500: '#6f23a8',
    950: '#000000',
  },
}
SCSS
$custom: #6f23a8;
$custom-light: #9e67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f23a8",
  "rgb": {
    "r": 111,
    "g": 35,
    "b": 168
  },
  "hsl": {
    "h": 274.286,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4452,
    "c": 0.1973,
    "h": 305.4
  },
  "luminance": 0.07409
}

Semantic roles & 50–950 ramp

primary
#6F23A8
secondary
#8CC562
accent
#E83F88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F23A8

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

Preview Lab → · Contrast checker → · Palette generator →

#6F23A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva