#6A239F#6A239F

#6A239F is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.1% C 0.187 H 305.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#6A239F
RGBrgb(106, 35, 159)
HSLhsl(274, 64%, 38%)
HSVhsv(274, 78%, 62%)
CMYKcmyk(33.3%, 78%, 0%, 37.6%)
CIE-LABlab(31.28, 52.52, -53.41)
CIE-LCHlch(31.28, 74.91, 314.52°)
OKLaboklab(43.13% 0.1094 -0.152)
OKLCHoklch(43.13% 0.187 305.7)
XYZxyz(12.8015, 6.7695, 33.4264)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A239F #589F23
analogous
#2C239F #6A239F #9F2396
triadic
#6A239F #9F6A23 #239F6A
tetradic
#6A239F #9F2C23 #589F23 #23969F
square
#6A239F #9F2C23 #589F23 #23969F
split-complementary
#6A239F #969F23 #239F2C
monochromatic
#270D3B #49186D #6A239F #8B2ED1 #A760DC

Accessibility & contrast

On white

8.92
#6A239F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6A239F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A239F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A239F#FFFFFF#000000##FFFFFF
##6A239F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#004A9D
Tritanopia (blue-blind)
#604360
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6a239f;
/* rgb */ color: rgb(106, 35, 159);
/* oklch */ color: oklch(43.1% 0.187 305.7);
Tailwind
colors: {
  custom: {
    50: '#9a66bc',
    500: '#6a239f',
    950: '#000000',
  },
}
SCSS
$custom: #6a239f;
$custom-light: #9a66bc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a239f",
  "rgb": {
    "r": 106,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 274.355,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43131,
    "c": 0.18728,
    "h": 305.7
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#6A239F
secondary
#88C15D
accent
#E74188
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0F0612
muted
#7E7A81

Preview Lab

Preview with #6A239F

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

Preview Lab → · Contrast checker → · Palette generator →

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