#23105C#23105C

#23105C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.1% C 0.125 H 285.3°. Best body text is #FFFFFF at 16.15:1 contrast (WCAG AA passes).

Color values

HEX#23105C
RGBrgb(35, 16, 92)
HSLhsl(255, 70%, 21%)
HSVhsv(255, 83%, 36%)
CMYKcmyk(62%, 82.6%, 0%, 63.9%)
CIE-LABlab(12.61, 31.28, -41.70)
CIE-LCHlch(12.61, 52.12, 306.87°)
OKLaboklab(26.07% 0.0329 -0.1201)
OKLCHoklch(26.07% 0.125 285.3)
XYZxyz(2.8096, 1.5004, 10.2647)
Luminance0.0150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23105C #495C10
analogous
#10235C #23105C #49105C
triadic
#23105C #5C2310 #105C23
tetradic
#23105C #5C1023 #495C10 #105C49
square
#23105C #5C1023 #495C10 #105C49
split-complementary
#23105C #5C4910 #235C10
monochromatic
#0A051A #0F0728 #23105C #371990 #4B22C4

Accessibility & contrast

On white

16.15
#23105C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23105C
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23105C#FFFFFF#000000##FFFFFF
##23105C1.0016.151.3016.15
#FFFFFF16.151.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#052635
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #23105c;
/* rgb */ color: rgb(35, 16, 92);
/* oklch */ color: oklch(26.1% 0.125 285.3);
Tailwind
colors: {
  custom: {
    50: '#66518b',
    500: '#23105c',
    950: '#000000',
  },
}
SCSS
$custom: #23105c;
$custom-light: #66518b;
$custom-dark: #000000;
JSON
{
  "hex": "#23105c",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 92
  },
  "hsl": {
    "h": 255,
    "s": 70.37,
    "l": 21.176
  },
  "oklch": {
    "l": 0.26067,
    "c": 0.12453,
    "h": 285.3
  },
  "luminance": 0.01501
}

Semantic roles & 50–950 ramp

primary
#23105C
secondary
#7D9533
accent
#ED3BC1
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23105C

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

Preview Lab → · Contrast checker → · Palette generator →

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