#23143A#23143A

#23143A is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.4% C 0.071 H 299.0°. Best body text is #FFFFFF at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#23143A
RGBrgb(35, 20, 58)
HSLhsl(264, 49%, 15%)
HSVhsv(264, 66%, 23%)
CMYKcmyk(39.7%, 65.5%, 0%, 77.3%)
CIE-LABlab(10.28, 17.65, -21.92)
CIE-LCHlch(10.28, 28.14, 308.84°)
OKLaboklab(23.4% 0.0345 -0.0621)
OKLCHoklch(23.4% 0.071 299)
XYZxyz(1.7068, 1.1631, 4.1367)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23143A #2B3A14
analogous
#14183A #23143A #36143A
triadic
#23143A #3A2314 #143A23
tetradic
#23143A #3A1418 #2B3A14 #143A36
square
#23143A #3A1418 #2B3A14 #143A36
split-complementary
#23143A #3A3614 #183A14
monochromatic
#0E0817 #0E0817 #23143A #3E2468 #5A3395

Accessibility & contrast

On white

17.04
#23143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#23143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23143A
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23143A#FFFFFF#000000##FFFFFF
##23143A1.0017.041.2317.04
#FFFFFF17.041.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041C3B
Deuteranopia (green-blind)
#081C39
Tritanopia (blue-blind)
#1E1C24
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #23143a;
/* rgb */ color: rgb(35, 20, 58);
/* oklch */ color: oklch(23.4% 0.071 299.0);
Tailwind
colors: {
  custom: {
    50: '#605270',
    500: '#23143a',
    950: '#000000',
  },
}
SCSS
$custom: #23143a;
$custom-light: #605270;
$custom-dark: #000000;
JSON
{
  "hex": "#23143a",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 263.684,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.23401,
    "c": 0.07101,
    "h": 299
  },
  "luminance": 0.01163
}

Semantic roles & 50–950 ramp

primary
#23143A
secondary
#5B7238
accent
#D850A2
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#050207
muted
#79787A

Preview Lab

Preview with #23143A

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

Preview Lab → · Contrast checker → · Palette generator →

#23143A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva