#23042F#23042F

#23042F is a very dark, moderate purple. Relative luminance 0.006; OKLCH L 19.8% C 0.085 H 314.7°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).

Color values

HEX#23042F
RGBrgb(35, 4, 47)
HSLhsl(283, 84%, 10%)
HSVhsv(283, 91%, 18%)
CMYKcmyk(25.5%, 91.5%, 0%, 81.6%)
CIE-LABlab(5.87, 23.76, -20.97)
CIE-LCHlch(5.87, 31.69, 318.57°)
OKLaboklab(19.77% 0.0597 -0.0603)
OKLCHoklch(19.77% 0.085 314.7)
XYZxyz(1.2496, 0.6494, 2.7483)
Luminance0.0065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23042F #102F04
analogous
#0E042F #23042F #2F0425
triadic
#23042F #2F2304 #042F23
tetradic
#23042F #2F0E04 #102F04 #04252F
square
#23042F #2F0E04 #102F04 #04252F
split-complementary
#23042F #252F04 #042F0E
monochromatic
#15021C #15021C #23042F #4D0967 #770EA0

Accessibility & contrast

On white

18.59
#23042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.13
#23042F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23042F
18.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23042F#FFFFFF#000000##FFFFFF
##23042F1.0018.591.1318.59
#FFFFFF18.591.0021.001.00
#0000001.1321.001.0021.00
##FFFFFF18.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001130
Deuteranopia (green-blind)
#02142E
Tritanopia (blue-blind)
#220D19
Achromatopsia (no color)
#131313

Design tokens & code

CSS
--color: #23042f;
/* rgb */ color: rgb(35, 4, 47);
/* oklch */ color: oklch(19.8% 0.085 314.7);
Tailwind
colors: {
  custom: {
    50: '#604868',
    500: '#23042f',
    950: '#000000',
  },
}
SCSS
$custom: #23042f;
$custom-light: #604868;
$custom-dark: #000000;
JSON
{
  "hex": "#23042f",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 283.256,
    "s": 84.314,
    "l": 10
  },
  "oklch": {
    "l": 0.19768,
    "c": 0.08488,
    "h": 314.7
  },
  "luminance": 0.00649
}

Semantic roles & 50–950 ramp

primary
#23042F
secondary
#35721D
accent
#FB2D67
background
#F5F4F6
surface
#E9E6EB
border
#C5C2C6
text
#050006
muted
#79777A

Preview Lab

Preview with #23042F

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

Preview Lab → · Contrast checker → · Palette generator →

#23042F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva