#23114A#23114A

#23114A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.3% C 0.099 H 291.8°. Best body text is #FFFFFF at 16.79:1 contrast (WCAG AA passes).

Color values

HEX#23114A
RGBrgb(35, 17, 74)
HSLhsl(259, 63%, 18%)
HSVhsv(259, 77%, 29%)
CMYKcmyk(52.7%, 77%, 0%, 71%)
CIE-LABlab(10.94, 24.83, -32.14)
CIE-LCHlch(10.94, 40.62, 307.69°)
OKLaboklab(24.32% 0.0368 -0.0921)
OKLCHoklch(24.32% 0.099 291.8)
XYZxyz(2.1293, 1.2526, 6.6068)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23114A #384A11
analogous
#111C4A #23114A #3F114A
triadic
#23114A #4A2311 #114A23
tetradic
#23114A #4A111C #384A11 #114A3F
square
#23114A #4A111C #384A11 #114A3F
split-complementary
#23114A #4A3F11 #1C4A11
monochromatic
#0C0619 #0C0619 #23114A #3B1C7C #5228AE

Accessibility & contrast

On white

16.79
#23114A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#23114A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23114A
16.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23114A#FFFFFF#000000##FFFFFF
##23114A1.0016.791.2516.79
#FFFFFF16.791.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4C
Deuteranopia (green-blind)
#001C49
Tritanopia (blue-blind)
#171F2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #23114a;
/* rgb */ color: rgb(35, 17, 74);
/* oklch */ color: oklch(24.3% 0.099 291.8);
Tailwind
colors: {
  custom: {
    50: '#63507d',
    500: '#23114a',
    950: '#000000',
  },
}
SCSS
$custom: #23114a;
$custom-light: #63507d;
$custom-dark: #000000;
JSON
{
  "hex": "#23114a",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 74
  },
  "hsl": {
    "h": 258.947,
    "s": 62.637,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24315,
    "c": 0.09922,
    "h": 291.8
  },
  "luminance": 0.01253
}

Semantic roles & 50–950 ramp

primary
#23114A
secondary
#6A8333
accent
#E642B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23114A

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

Preview Lab → · Contrast checker → · Palette generator →

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