#23105E#23105E

#23105E is a dark, vivid violet. Relative luminance 0.015; OKLCH L 26.3% C 0.127 H 284.7°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#23105E
RGBrgb(35, 16, 94)
HSLhsl(255, 71%, 22%)
HSVhsv(255, 83%, 37%)
CMYKcmyk(62.8%, 83%, 0%, 63.1%)
CIE-LABlab(12.83, 31.92, -42.67)
CIE-LCHlch(12.83, 53.29, 306.80°)
OKLaboklab(26.29% 0.0322 -0.1229)
OKLCHoklch(26.29% 0.127 284.7)
XYZxyz(2.8982, 1.5359, 10.7312)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23105E #4B5E10
analogous
#10245E #23105E #4A105E
triadic
#23105E #5E2310 #105E23
tetradic
#23105E #5E1024 #4B5E10 #105E4A
square
#23105E #5E1024 #4B5E10 #105E4A
split-complementary
#23105E #5E4A10 #245E10
monochromatic
#0A041A #10072A #23105E #361992 #4A22C7

Accessibility & contrast

On white

16.06
#23105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#23105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23105E
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23105E#FFFFFF#000000##FFFFFF
##23105E1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002360
Deuteranopia (green-blind)
#001F5D
Tritanopia (blue-blind)
#022737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #23105e;
/* rgb */ color: rgb(35, 16, 94);
/* oklch */ color: oklch(26.3% 0.127 284.7);
Tailwind
colors: {
  custom: {
    50: '#67518d',
    500: '#23105e',
    950: '#000000',
  },
}
SCSS
$custom: #23105e;
$custom-light: #67518d;
$custom-dark: #000000;
JSON
{
  "hex": "#23105e",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 254.615,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.26291,
    "c": 0.12711,
    "h": 284.7
  },
  "luminance": 0.01536
}

Semantic roles & 50–950 ramp

primary
#23105E
secondary
#7F9733
accent
#EE3AC2
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23105E

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

Preview Lab → · Contrast checker → · Palette generator →

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