#23043F#23043F

#23043F is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.4% C 0.103 H 302.0°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#23043F
RGBrgb(35, 4, 63)
HSLhsl(272, 88%, 13%)
HSVhsv(272, 94%, 25%)
CMYKcmyk(44.4%, 93.7%, 0%, 75.3%)
CIE-LABlab(7.25, 28.80, -30.42)
CIE-LCHlch(7.25, 41.89, 313.44°)
OKLaboklab(21.36% 0.0544 -0.0871)
OKLCHoklch(21.36% 0.103 302)
XYZxyz(1.6335, 0.8030, 4.7706)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23043F #203F04
analogous
#05043F #23043F #3F043D
triadic
#23043F #3F2304 #043F23
tetradic
#23043F #3F0504 #203F04 #043D3F
square
#23043F #3F0504 #203F04 #043D3F
split-complementary
#23043F #3D3F04 #043F05
monochromatic
#10021D #10021D #23043F #430879 #630BB2

Accessibility & contrast

On white

18.09
#23043F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#23043F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23043F
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23043F#FFFFFF#000000##FFFFFF
##23043F1.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001641
Deuteranopia (green-blind)
#00163E
Tritanopia (blue-blind)
#1D1422
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #23043f;
/* rgb */ color: rgb(35, 4, 63);
/* oklch */ color: oklch(21.4% 0.103 302.0);
Tailwind
colors: {
  custom: {
    50: '#624875',
    500: '#23043f',
    950: '#000000',
  },
}
SCSS
$custom: #23043f;
$custom-light: #624875;
$custom-dark: #000000;
JSON
{
  "hex": "#23043f",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 63
  },
  "hsl": {
    "h": 271.525,
    "s": 88.06,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21364,
    "c": 0.10266,
    "h": 302
  },
  "luminance": 0.00803
}

Semantic roles & 50–950 ramp

primary
#23043F
secondary
#4D801E
accent
#FE2A8E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #23043F

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

Preview Lab → · Contrast checker → · Palette generator →

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