#23104D#23104D

#23104D is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.5% C 0.105 H 290.8°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#23104D
RGBrgb(35, 16, 77)
HSLhsl(259, 66%, 18%)
HSVhsv(259, 79%, 30%)
CMYKcmyk(54.5%, 79.2%, 0%, 69.8%)
CIE-LABlab(11.02, 26.41, -34.09)
CIE-LCHlch(11.02, 43.13, 307.77°)
OKLaboklab(24.46% 0.0372 -0.0978)
OKLCHoklch(24.46% 0.105 290.8)
XYZxyz(2.2176, 1.2636, 7.1468)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23104D #3A4D10
analogous
#101B4D #23104D #41104D
triadic
#23104D #4D2310 #104D23
tetradic
#23104D #4D101B #3A4D10 #104D41
square
#23104D #4D101B #3A4D10 #104D41
split-complementary
#23104D #4D4110 #1B4D10
monochromatic
#0C0519 #0C051A #23104D #3A1B80 #5125B2

Accessibility & contrast

On white

16.76
#23104D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#23104D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23104D
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23104D#FFFFFF#000000##FFFFFF
##23104D1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #23104d;
/* rgb */ color: rgb(35, 16, 77);
/* oklch */ color: oklch(24.5% 0.105 290.8);
Tailwind
colors: {
  custom: {
    50: '#63507f',
    500: '#23104d',
    950: '#000000',
  },
}
SCSS
$custom: #23104d;
$custom-light: #63507f;
$custom-dark: #000000;
JSON
{
  "hex": "#23104d",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 77
  },
  "hsl": {
    "h": 258.689,
    "s": 65.591,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24462,
    "c": 0.10468,
    "h": 290.8
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#23104D
secondary
#6C8732
accent
#E93FB4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23104D

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

Preview Lab → · Contrast checker → · Palette generator →

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