#23154A#23154A

#23154A is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.093 H 290.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#23154A
RGBrgb(35, 21, 74)
HSLhsl(256, 56%, 19%)
HSVhsv(256, 72%, 29%)
CMYKcmyk(52.7%, 71.6%, 0%, 71%)
CIE-LABlab(11.88, 22.27, -30.62)
CIE-LCHlch(11.88, 37.86, 306.03°)
OKLaboklab(24.99% 0.0321 -0.0876)
OKLCHoklch(24.99% 0.093 290.1)
XYZxyz(2.1970, 1.3880, 6.6294)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23154A #3C4A15
analogous
#15214A #23154A #3D154A
triadic
#23154A #4A2315 #154A23
tetradic
#23154A #4A1521 #3C4A15 #154A3D
square
#23154A #4A1521 #3C4A15 #154A3D
split-complementary
#23154A #4A3D15 #214A15
monochromatic
#0B0718 #0C071A #23154A #3A237A #5030A9

Accessibility & contrast

On white

16.44
#23154A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#23154A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23154A
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23154A#FFFFFF#000000##FFFFFF
##23154A1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204C
Deuteranopia (green-blind)
#001E49
Tritanopia (blue-blind)
#16222D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #23154a;
/* rgb */ color: rgb(35, 21, 74);
/* oklch */ color: oklch(25.0% 0.093 290.1);
Tailwind
colors: {
  custom: {
    50: '#62537d',
    500: '#23154a',
    950: '#000000',
  },
}
SCSS
$custom: #23154a;
$custom-light: #62537d;
$custom-dark: #000000;
JSON
{
  "hex": "#23154a",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 74
  },
  "hsl": {
    "h": 255.849,
    "s": 55.789,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24989,
    "c": 0.09335,
    "h": 290.1
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#23154A
secondary
#6F8239
accent
#DF49B7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23154A

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

Preview Lab → · Contrast checker → · Palette generator →

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