#23104C#23104C

#23104C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.4% C 0.103 H 291.3°. Best body text is #FFFFFF at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#23104C
RGBrgb(35, 16, 76)
HSLhsl(259, 65%, 18%)
HSVhsv(259, 79%, 30%)
CMYKcmyk(53.9%, 78.9%, 0%, 70.2%)
CIE-LABlab(10.92, 26.09, -33.57)
CIE-LCHlch(10.92, 42.51, 307.86°)
OKLaboklab(24.36% 0.0375 -0.0963)
OKLCHoklch(24.36% 0.103 291.3)
XYZxyz(2.1826, 1.2496, 6.9623)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23104C #394C10
analogous
#101B4C #23104C #41104C
triadic
#23104C #4C2310 #104C23
tetradic
#23104C #4C101B #394C10 #104C41
square
#23104C #4C101B #394C10 #104C41
split-complementary
#23104C #4C4110 #1B4C10
monochromatic
#0C0519 #0C0519 #23104C #3A1B7F #5225B1

Accessibility & contrast

On white

16.80
#23104C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#23104C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23104C
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23104C#FFFFFF#000000##FFFFFF
##23104C1.0016.801.2516.80
#FFFFFF16.801.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4E
Deuteranopia (green-blind)
#001C4B
Tritanopia (blue-blind)
#16202C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #23104c;
/* rgb */ color: rgb(35, 16, 76);
/* oklch */ color: oklch(24.4% 0.103 291.3);
Tailwind
colors: {
  custom: {
    50: '#63507f',
    500: '#23104c',
    950: '#000000',
  },
}
SCSS
$custom: #23104c;
$custom-light: #63507f;
$custom-dark: #000000;
JSON
{
  "hex": "#23104c",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 76
  },
  "hsl": {
    "h": 259,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.2436,
    "c": 0.10332,
    "h": 291.3
  },
  "luminance": 0.0125
}

Semantic roles & 50–950 ramp

primary
#23104C
secondary
#6B8632
accent
#E840B3
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23104C

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

Preview Lab → · Contrast checker → · Palette generator →

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