#23114D#23114D

#23114D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.103 H 290.5°. Best body text is #FFFFFF at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#23114D
RGBrgb(35, 17, 77)
HSLhsl(258, 64%, 18%)
HSVhsv(258, 78%, 30%)
CMYKcmyk(54.5%, 77.9%, 0%, 69.8%)
CIE-LABlab(11.23, 25.81, -33.74)
CIE-LCHlch(11.23, 42.48, 307.42°)
OKLaboklab(24.62% 0.0362 -0.0968)
OKLCHoklch(24.62% 0.103 290.5)
XYZxyz(2.2328, 1.2940, 7.1519)
Luminance0.0129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23114D #3B4D11
analogous
#111D4D #23114D #41114D
triadic
#23114D #4D2311 #114D23
tetradic
#23114D #4D111D #3B4D11 #114D41
square
#23114D #4D111D #3B4D11 #114D41
split-complementary
#23114D #4D4111 #1D4D11
monochromatic
#0B0619 #0C061B #23114D #3A1C7F #5127B1

Accessibility & contrast

On white

16.68
#23114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#23114D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23114D
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23114D#FFFFFF#000000##FFFFFF
##23114D1.0016.681.2616.68
#FFFFFF16.681.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#15212D
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #23114d;
/* rgb */ color: rgb(35, 17, 77);
/* oklch */ color: oklch(24.6% 0.103 290.5);
Tailwind
colors: {
  custom: {
    50: '#63517f',
    500: '#23114d',
    950: '#000000',
  },
}
SCSS
$custom: #23114d;
$custom-light: #63517f;
$custom-dark: #000000;
JSON
{
  "hex": "#23114d",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 258,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24615,
    "c": 0.10336,
    "h": 290.5
  },
  "luminance": 0.01294
}

Semantic roles & 50–950 ramp

primary
#23114D
secondary
#6E8633
accent
#E741B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23114D

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

Preview Lab → · Contrast checker → · Palette generator →

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