#23105B#23105B

#23105B is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.0% C 0.123 H 285.6°. Best body text is #FFFFFF at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#23105B
RGBrgb(35, 16, 91)
HSLhsl(255, 70%, 21%)
HSVhsv(255, 82%, 36%)
CMYKcmyk(61.5%, 82.4%, 0%, 64.3%)
CIE-LABlab(12.50, 30.95, -41.21)
CIE-LCHlch(12.50, 51.54, 306.91°)
OKLaboklab(25.96% 0.0332 -0.1187)
OKLCHoklch(25.96% 0.123 285.6)
XYZxyz(2.7662, 1.4831, 10.0360)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23105B #485B10
analogous
#10225B #23105B #48105B
triadic
#23105B #5B2310 #105B23
tetradic
#23105B #5B1022 #485B10 #105B48
square
#23105B #5B1022 #485B10 #105B48
split-complementary
#23105B #5B4810 #225B10
monochromatic
#0A051A #0F0727 #23105B #37198F #4B22C3

Accessibility & contrast

On white

16.20
#23105B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#23105B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23105B
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23105B#FFFFFF#000000##FFFFFF
##23105B1.0016.201.3016.20
#FFFFFF16.201.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225D
Deuteranopia (green-blind)
#001E5A
Tritanopia (blue-blind)
#072635
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #23105b;
/* rgb */ color: rgb(35, 16, 91);
/* oklch */ color: oklch(26.0% 0.123 285.6);
Tailwind
colors: {
  custom: {
    50: '#66518a',
    500: '#23105b',
    950: '#000000',
  },
}
SCSS
$custom: #23105b;
$custom-light: #66518a;
$custom-dark: #000000;
JSON
{
  "hex": "#23105b",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 91
  },
  "hsl": {
    "h": 255.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25956,
    "c": 0.12323,
    "h": 285.6
  },
  "luminance": 0.01483
}

Semantic roles & 50–950 ramp

primary
#23105B
secondary
#7B9433
accent
#ED3BC0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23105B

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

Preview Lab → · Contrast checker → · Palette generator →

#23105B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva