#23043A#23043A

#23043A is a very dark, moderate violet. Relative luminance 0.007; OKLCH L 20.8% C 0.097 H 305.5°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#23043A
RGBrgb(35, 4, 58)
HSLhsl(274, 87%, 12%)
HSVhsv(274, 93%, 23%)
CMYKcmyk(39.7%, 93.1%, 0%, 77.3%)
CIE-LABlab(6.77, 27.26, -27.60)
CIE-LCHlch(6.77, 38.79, 314.65°)
OKLaboklab(20.84% 0.0564 -0.079)
OKLCHoklch(20.84% 0.097 305.5)
XYZxyz(1.5001, 0.7497, 4.0678)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23043A #1B3A04
analogous
#08043A #23043A #3A0436
triadic
#23043A #3A2304 #043A23
tetradic
#23043A #3A0804 #1B3A04 #04363A
square
#23043A #3A0804 #1B3A04 #04363A
split-complementary
#23043A #363A04 #043A08
monochromatic
#11021D #11021D #23043A #460873 #680CAD

Accessibility & contrast

On white

18.26
#23043A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#23043A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23043A
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23043A#FFFFFF#000000##FFFFFF
##23043A1.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00143B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#1F121F
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #23043a;
/* rgb */ color: rgb(35, 4, 58);
/* oklch */ color: oklch(20.8% 0.097 305.5);
Tailwind
colors: {
  custom: {
    50: '#614871',
    500: '#23043a',
    950: '#000000',
  },
}
SCSS
$custom: #23043a;
$custom-light: #614871;
$custom-dark: #000000;
JSON
{
  "hex": "#23043a",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 58
  },
  "hsl": {
    "h": 274.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.20839,
    "c": 0.09706,
    "h": 305.5
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#23043A
secondary
#467C1E
accent
#FD2B84
background
#F5F4F6
surface
#EAE6EC
border
#C6C2C7
text
#050007
muted
#79777A

Preview Lab

Preview with #23043A

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

Preview Lab → · Contrast checker → · Palette generator →

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