#23073A#23073A

#23073A is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 21.3% C 0.092 H 304.5°. Best body text is #FFFFFF at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#23073A
RGBrgb(35, 7, 58)
HSLhsl(273, 78%, 13%)
HSVhsv(273, 88%, 23%)
CMYKcmyk(39.7%, 87.9%, 0%, 77.3%)
CIE-LABlab(7.36, 25.63, -26.64)
CIE-LCHlch(7.36, 36.97, 313.89°)
OKLaboklab(21.29% 0.0523 -0.076)
OKLCHoklch(21.29% 0.092 304.5)
XYZxyz(1.5327, 0.8148, 4.0787)
Luminance0.0081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23073A #1E3A07
analogous
#09073A #23073A #3A0737
triadic
#23073A #3A2307 #073A23
tetradic
#23073A #3A0907 #1E3A07 #07373A
square
#23073A #3A0907 #1E3A07 #07373A
split-complementary
#23073A #373A07 #073A09
monochromatic
#10031B #10031B #23073A #440E71 #6514A7

Accessibility & contrast

On white

18.06
#23073A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#23073A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23073A
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23073A#FFFFFF#000000##FFFFFF
##23073A1.0018.061.1618.06
#FFFFFF18.061.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00163B
Deuteranopia (green-blind)
#001639
Tritanopia (blue-blind)
#1F1420
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #23073a;
/* rgb */ color: rgb(35, 7, 58);
/* oklch */ color: oklch(21.3% 0.092 304.5);
Tailwind
colors: {
  custom: {
    50: '#614a71',
    500: '#23073a',
    950: '#000000',
  },
}
SCSS
$custom: #23073a;
$custom-light: #614a71;
$custom-dark: #000000;
JSON
{
  "hex": "#23073a",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 58
  },
  "hsl": {
    "h": 272.941,
    "s": 78.462,
    "l": 12.745
  },
  "oklch": {
    "l": 0.21285,
    "c": 0.09226,
    "h": 304.5
  },
  "luminance": 0.00815
}

Semantic roles & 50–950 ramp

primary
#23073A
secondary
#4A7923
accent
#F5338A
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #23073A

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

Preview Lab → · Contrast checker → · Palette generator →

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