#23123D#23123D

#23123D is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.079 H 298.2°. Best body text is #FFFFFF at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#23123D
RGBrgb(35, 18, 61)
HSLhsl(264, 54%, 15%)
HSVhsv(264, 70%, 24%)
CMYKcmyk(42.6%, 70.5%, 0%, 76.1%)
CIE-LABlab(10.01, 19.97, -24.51)
CIE-LCHlch(10.01, 31.62, 309.17°)
OKLaboklab(23.28% 0.0374 -0.0697)
OKLCHoklch(23.28% 0.079 298.2)
XYZxyz(1.7515, 1.1268, 4.5392)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23123D #2C3D12
analogous
#12163D #23123D #38123D
triadic
#23123D #3D2312 #123D23
tetradic
#23123D #3D1216 #2C3D12 #123D38
square
#23123D #3D1216 #2C3D12 #123D38
split-complementary
#23123D #3D3812 #163D12
monochromatic
#0E0718 #0E0718 #23123D #3E206C #592E9C

Accessibility & contrast

On white

17.14
#23123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23123D
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23123D#FFFFFF#000000##FFFFFF
##23123D1.0017.141.2317.14
#FFFFFF17.141.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3E
Deuteranopia (green-blind)
#021B3C
Tritanopia (blue-blind)
#1D1B25
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #23123d;
/* rgb */ color: rgb(35, 18, 61);
/* oklch */ color: oklch(23.3% 0.079 298.2);
Tailwind
colors: {
  custom: {
    50: '#605073',
    500: '#23123d',
    950: '#000000',
  },
}
SCSS
$custom: #23123d;
$custom-light: #605073;
$custom-dark: #000000;
JSON
{
  "hex": "#23123d",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 263.721,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.23275,
    "c": 0.07909,
    "h": 298.2
  },
  "luminance": 0.01127
}

Semantic roles & 50–950 ramp

primary
#23123D
secondary
#5C7635
accent
#DE4AA3
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #23123D

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

Preview Lab → · Contrast checker → · Palette generator →

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