#23104E#23104E

#23104E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.106 H 290.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#23104E
RGBrgb(35, 16, 78)
HSLhsl(258, 66%, 18%)
HSVhsv(258, 79%, 31%)
CMYKcmyk(55.1%, 79.5%, 0%, 69.4%)
CIE-LABlab(11.12, 26.74, -34.62)
CIE-LCHlch(11.12, 43.74, 307.68°)
OKLaboklab(24.57% 0.037 -0.0994)
OKLCHoklch(24.57% 0.106 290.4)
XYZxyz(2.2532, 1.2779, 7.3342)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23104E #3B4E10
analogous
#101C4E #23104E #42104E
triadic
#23104E #4E2310 #104E23
tetradic
#23104E #4E101C #3B4E10 #104E42
square
#23104E #4E101C #3B4E10 #104E42
split-complementary
#23104E #4E4210 #1C4E10
monochromatic
#0B0519 #0C061B #23104E #3A1A81 #5125B4

Accessibility & contrast

On white

16.73
#23104E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#23104E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23104E
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23104E#FFFFFF#000000##FFFFFF
##23104E1.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001C4D
Tritanopia (blue-blind)
#14202E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #23104e;
/* rgb */ color: rgb(35, 16, 78);
/* oklch */ color: oklch(24.6% 0.106 290.4);
Tailwind
colors: {
  custom: {
    50: '#635080',
    500: '#23104e',
    950: '#000000',
  },
}
SCSS
$custom: #23104e;
$custom-light: #635080;
$custom-dark: #000000;
JSON
{
  "hex": "#23104e",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 78
  },
  "hsl": {
    "h": 258.387,
    "s": 65.957,
    "l": 18.431
  },
  "oklch": {
    "l": 0.24565,
    "c": 0.10603,
    "h": 290.4
  },
  "luminance": 0.01278
}

Semantic roles & 50–950 ramp

primary
#23104E
secondary
#6E8832
accent
#E93FB5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23104E

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

Preview Lab → · Contrast checker → · Palette generator →

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