#23104B#23104B

#23104B is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.3% C 0.102 H 291.7°. Best body text is #FFFFFF at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#23104B
RGBrgb(35, 16, 75)
HSLhsl(259, 65%, 18%)
HSVhsv(259, 79%, 29%)
CMYKcmyk(53.3%, 78.7%, 0%, 70.6%)
CIE-LABlab(10.82, 25.77, -33.03)
CIE-LCHlch(10.82, 41.90, 307.95°)
OKLaboklab(24.26% 0.0377 -0.0947)
OKLCHoklch(24.26% 0.102 291.7)
XYZxyz(2.1481, 1.2358, 6.7806)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23104B #384B10
analogous
#101A4B #23104B #40104B
triadic
#23104B #4B2310 #104B23
tetradic
#23104B #4B101A #384B10 #104B40
square
#23104B #4B101A #384B10 #104B40
split-complementary
#23104B #4B4010 #1A4B10
monochromatic
#0C0519 #0C0519 #23104B #3B1B7D #5226B0

Accessibility & contrast

On white

16.84
#23104B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23104B
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23104B#FFFFFF#000000##FFFFFF
##23104B1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4D
Deuteranopia (green-blind)
#001C4A
Tritanopia (blue-blind)
#161F2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #23104b;
/* rgb */ color: rgb(35, 16, 75);
/* oklch */ color: oklch(24.3% 0.102 291.7);
Tailwind
colors: {
  custom: {
    50: '#63507e',
    500: '#23104b',
    950: '#000000',
  },
}
SCSS
$custom: #23104b;
$custom-light: #63507e;
$custom-dark: #000000;
JSON
{
  "hex": "#23104b",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 75
  },
  "hsl": {
    "h": 259.322,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24259,
    "c": 0.10197,
    "h": 291.7
  },
  "luminance": 0.01236
}

Semantic roles & 50–950 ramp

primary
#23104B
secondary
#6A8532
accent
#E840B2
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23104B

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

Preview Lab → · Contrast checker → · Palette generator →

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