#23123E#23123E

#23123E is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.4% C 0.081 H 297.6°. Best body text is #FFFFFF at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#23123E
RGBrgb(35, 18, 62)
HSLhsl(263, 55%, 16%)
HSVhsv(263, 71%, 24%)
CMYKcmyk(43.5%, 71%, 0%, 75.7%)
CIE-LABlab(10.09, 20.29, -25.09)
CIE-LCHlch(10.09, 32.27, 308.97°)
OKLaboklab(23.36% 0.0373 -0.0714)
OKLCHoklch(23.36% 0.081 297.6)
XYZxyz(1.7787, 1.1377, 4.6824)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23123E #2D3E12
analogous
#12173E #23123E #39123E
triadic
#23123E #3E2312 #123E23
tetradic
#23123E #3E1217 #2D3E12 #123E39
square
#23123E #3E1217 #2D3E12 #123E39
split-complementary
#23123E #3E3912 #173E12
monochromatic
#0D0718 #0D0718 #23123E #3E206D #592E9D

Accessibility & contrast

On white

17.11
#23123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#23123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23123E
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23123E#FFFFFF#000000##FFFFFF
##23123E1.0017.111.2317.11
#FFFFFF17.111.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#011B3D
Tritanopia (blue-blind)
#1D1C25
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #23123e;
/* rgb */ color: rgb(35, 18, 62);
/* oklch */ color: oklch(23.4% 0.081 297.6);
Tailwind
colors: {
  custom: {
    50: '#605174',
    500: '#23123e',
    950: '#000000',
  },
}
SCSS
$custom: #23123e;
$custom-light: #605174;
$custom-dark: #000000;
JSON
{
  "hex": "#23123e",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 263.182,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23362,
    "c": 0.08056,
    "h": 297.6
  },
  "luminance": 0.01138
}

Semantic roles & 50–950 ramp

primary
#23123E
secondary
#5D7735
accent
#DE49A5
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #23123E

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

Preview Lab → · Contrast checker → · Palette generator →

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