#230123#230123

#230123 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.080 H 328.3°. Best body text is #FFFFFF at 19.09:1 contrast (WCAG AA passes).

Color values

HEX#230123
RGBrgb(35, 1, 35)
HSLhsl(300, 94%, 7%)
HSVhsv(300, 97%, 14%)
CMYKcmyk(0%, 97.1%, 0%, 86.3%)
CIE-LABlab(4.52, 21.38, -13.94)
CIE-LCHlch(4.52, 25.52, 326.89°)
OKLaboklab(18.18% 0.0679 -0.042)
OKLCHoklch(18.18% 0.08 328.3)
XYZxyz(1.0074, 0.5005, 1.6333)
Luminance0.0050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230123 #012301
analogous
#120123 #230123 #230112
triadic
#230123 #232301 #012323
tetradic
#230123 #231201 #012301 #011223
square
#230123 #231201 #012301 #011223
split-complementary
#230123 #122301 #012312
monochromatic
#1E011E #1E011E #230123 #5F035F #9A049A

Accessibility & contrast

On white

19.09
#230123 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#230123 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230123
19.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230123#FFFFFF#000000##FFFFFF
##2301231.0019.091.1019.09
#FFFFFF19.091.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000C24
Deuteranopia (green-blind)
#091122
Tritanopia (blue-blind)
#250511
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #230123;
/* rgb */ color: rgb(35, 1, 35);
/* oklch */ color: oklch(18.2% 0.080 328.3);
Tailwind
colors: {
  custom: {
    50: '#5f465e',
    500: '#230123',
    950: '#000000',
  },
}
SCSS
$custom: #230123;
$custom-light: #5f465e;
$custom-dark: #000000;
JSON
{
  "hex": "#230123",
  "rgb": {
    "r": 35,
    "g": 1,
    "b": 35
  },
  "hsl": {
    "h": 300,
    "s": 94.444,
    "l": 7.059
  },
  "oklch": {
    "l": 0.18178,
    "c": 0.07983,
    "h": 328.3
  },
  "luminance": 0.005
}

Semantic roles & 50–950 ramp

primary
#230123
secondary
#166A16
accent
#FF2929
background
#F5F3F5
surface
#E9E5E9
border
#C5C1C5
text
#040004
muted
#797779

Preview Lab

Preview with #230123

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

Preview Lab → · Contrast checker → · Palette generator →

#230123 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva