#23102F#23102F

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

Color values

HEX#23102F
RGBrgb(35, 16, 47)
HSLhsl(277, 49%, 12%)
HSVhsv(277, 66%, 18%)
CMYKcmyk(25.5%, 66%, 0%, 81.6%)
CIE-LABlab(8.42, 17.05, -16.90)
CIE-LCHlch(8.42, 24.00, 315.25°)
OKLaboklab(21.77% 0.0405 -0.0474)
OKLCHoklch(21.77% 0.062 310.5)
XYZxyz(1.3914, 0.9332, 2.7956)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23102F #1C2F10
analogous
#14102F #23102F #2F102C
triadic
#23102F #2F2310 #102F23
tetradic
#23102F #2F1410 #1C2F10 #102C2F
square
#23102F #2F1410 #1C2F10 #102C2F
split-complementary
#23102F #2C2F10 #102F14
monochromatic
#110817 #110817 #23102F #45205D #672F8A

Accessibility & contrast

On white

17.70
#23102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#23102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23102F
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23102F#FFFFFF#000000##FFFFFF
##23102F1.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#0D192E
Tritanopia (blue-blind)
#22151D
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #23102f;
/* rgb */ color: rgb(35, 16, 47);
/* oklch */ color: oklch(21.8% 0.062 310.5);
Tailwind
colors: {
  custom: {
    50: '#5f4f67',
    500: '#23102f',
    950: '#000000',
  },
}
SCSS
$custom: #23102f;
$custom-light: #5f4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#23102f",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 276.774,
    "s": 49.206,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21771,
    "c": 0.06232,
    "h": 310.5
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#23102F
secondary
#476833
accent
#D94F84
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #23102F

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

Preview Lab → · Contrast checker → · Palette generator →

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