#23043C#23043C

#23043C is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.0% C 0.099 H 304.1°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).

Color values

HEX#23043C
RGBrgb(35, 4, 60)
HSLhsl(273, 88%, 13%)
HSVhsv(273, 93%, 24%)
CMYKcmyk(41.7%, 93.3%, 0%, 76.5%)
CIE-LABlab(6.96, 27.89, -28.74)
CIE-LCHlch(6.96, 40.05, 314.14°)
OKLaboklab(21.05% 0.0556 -0.0823)
OKLCHoklch(21.05% 0.099 304.1)
XYZxyz(1.5520, 0.7704, 4.3410)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23043C #1D3C04
analogous
#07043C #23043C #3C0439
triadic
#23043C #3C2304 #043C23
tetradic
#23043C #3C0704 #1D3C04 #04393C
square
#23043C #3C0704 #1D3C04 #04393C
split-complementary
#23043C #393C04 #043C07
monochromatic
#11021D #11021D #23043C #440875 #660CAF

Accessibility & contrast

On white

18.20
#23043C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23043C
18.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23043C#FFFFFF#000000##FFFFFF
##23043C1.0018.201.1518.20
#FFFFFF18.201.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00153D
Deuteranopia (green-blind)
#00153B
Tritanopia (blue-blind)
#1E1320
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #23043c;
/* rgb */ color: rgb(35, 4, 60);
/* oklch */ color: oklch(21.0% 0.099 304.1);
Tailwind
colors: {
  custom: {
    50: '#614872',
    500: '#23043c',
    950: '#000000',
  },
}
SCSS
$custom: #23043c;
$custom-light: #614872;
$custom-dark: #000000;
JSON
{
  "hex": "#23043c",
  "rgb": {
    "r": 35,
    "g": 4,
    "b": 60
  },
  "hsl": {
    "h": 273.214,
    "s": 87.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.21047,
    "c": 0.09929,
    "h": 304.1
  },
  "luminance": 0.0077
}

Semantic roles & 50–950 ramp

primary
#23043C
secondary
#497E1E
accent
#FE2A89
background
#F6F4F7
surface
#EBE6ED
border
#C6C2C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #23043C

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

Preview Lab → · Contrast checker → · Palette generator →

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