#23073F#23073F

#23073F is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.098 H 301.1°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#23073F
RGBrgb(35, 7, 63)
HSLhsl(270, 80%, 14%)
HSVhsv(270, 89%, 25%)
CMYKcmyk(44.4%, 88.9%, 0%, 75.3%)
CIE-LABlab(7.84, 27.12, -29.45)
CIE-LCHlch(7.84, 40.03, 312.63°)
OKLaboklab(21.79% 0.0508 -0.0842)
OKLCHoklch(21.79% 0.098 301.1)
XYZxyz(1.6661, 0.8682, 4.7815)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23073F #233F07
analogous
#07073F #23073F #3F073F
triadic
#23073F #3F2307 #073F23
tetradic
#23073F #3F0707 #233F07 #073F3F
square
#23073F #3F0707 #233F07 #073F3F
split-complementary
#23073F #3F3F07 #073F07
monochromatic
#0F031C #0F031C #23073F #420D76 #6013AD

Accessibility & contrast

On white

17.89
#23073F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#23073F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23073F
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23073F#FFFFFF#000000##FFFFFF
##23073F1.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00173E
Tritanopia (blue-blind)
#1D1623
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #23073f;
/* rgb */ color: rgb(35, 7, 63);
/* oklch */ color: oklch(21.8% 0.098 301.1);
Tailwind
colors: {
  custom: {
    50: '#624a75',
    500: '#23073f',
    950: '#000000',
  },
}
SCSS
$custom: #23073f;
$custom-light: #624a75;
$custom-dark: #000000;
JSON
{
  "hex": "#23073f",
  "rgb": {
    "r": 35,
    "g": 7,
    "b": 63
  },
  "hsl": {
    "h": 270,
    "s": 80,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21789,
    "c": 0.09828,
    "h": 301.1
  },
  "luminance": 0.00868
}

Semantic roles & 50–950 ramp

primary
#23073F
secondary
#517E24
accent
#F63194
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #23073F

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

Preview Lab → · Contrast checker → · Palette generator →

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