#23105F#23105F

#23105F is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.4% C 0.128 H 284.4°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#23105F
RGBrgb(35, 16, 95)
HSLhsl(254, 71%, 22%)
HSVhsv(254, 83%, 37%)
CMYKcmyk(63.2%, 83.2%, 0%, 62.7%)
CIE-LABlab(12.95, 32.24, -43.15)
CIE-LCHlch(12.95, 53.87, 306.77°)
OKLaboklab(26.4% 0.0319 -0.1244)
OKLCHoklch(26.4% 0.128 284.4)
XYZxyz(2.9434, 1.5539, 10.9691)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23105F #4C5F10
analogous
#10255F #23105F #4B105F
triadic
#23105F #5F2310 #105F23
tetradic
#23105F #5F1025 #4C5F10 #105F4B
square
#23105F #5F1025 #4C5F10 #105F4B
split-complementary
#23105F #5F4B10 #255F10
monochromatic
#0A041A #10072B #23105F #361993 #4A22C8

Accessibility & contrast

On white

16.02
#23105F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23105F
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23105F#FFFFFF#000000##FFFFFF
##23105F1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002461
Deuteranopia (green-blind)
#001F5E
Tritanopia (blue-blind)
#012737
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #23105f;
/* rgb */ color: rgb(35, 16, 95);
/* oklch */ color: oklch(26.4% 0.128 284.4);
Tailwind
colors: {
  custom: {
    50: '#67518d',
    500: '#23105f',
    950: '#000000',
  },
}
SCSS
$custom: #23105f;
$custom-light: #67518d;
$custom-dark: #000000;
JSON
{
  "hex": "#23105f",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 95
  },
  "hsl": {
    "h": 254.43,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26403,
    "c": 0.12839,
    "h": 284.4
  },
  "luminance": 0.01554
}

Semantic roles & 50–950 ramp

primary
#23105F
secondary
#809833
accent
#EE3AC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #23105F

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

Preview Lab → · Contrast checker → · Palette generator →

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