#23105A#23105A

#23105A is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.8% C 0.122 H 286.0°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#23105A
RGBrgb(35, 16, 90)
HSLhsl(255, 70%, 21%)
HSVhsv(255, 82%, 35%)
CMYKcmyk(61.1%, 82.2%, 0%, 64.7%)
CIE-LABlab(12.39, 30.63, -40.71)
CIE-LCHlch(12.39, 50.95, 306.96°)
OKLaboklab(25.85% 0.0335 -0.1172)
OKLCHoklch(25.85% 0.122 286)
XYZxyz(2.7233, 1.4659, 9.8103)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23105A #475A10
analogous
#10225A #23105A #48105A
triadic
#23105A #5A2310 #105A23
tetradic
#23105A #5A1022 #475A10 #105A48
square
#23105A #5A1022 #475A10 #105A48
split-complementary
#23105A #5A4810 #225A10
monochromatic
#0A051A #0F0726 #23105A #37198E #4B22C2

Accessibility & contrast

On white

16.24
#23105A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#23105A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23105A
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23105A#FFFFFF#000000##FFFFFF
##23105A1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225C
Deuteranopia (green-blind)
#001E59
Tritanopia (blue-blind)
#082534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #23105a;
/* rgb */ color: rgb(35, 16, 90);
/* oklch */ color: oklch(25.8% 0.122 286.0);
Tailwind
colors: {
  custom: {
    50: '#665189',
    500: '#23105a',
    950: '#000000',
  },
}
SCSS
$custom: #23105a;
$custom-light: #665189;
$custom-dark: #000000;
JSON
{
  "hex": "#23105a",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 90
  },
  "hsl": {
    "h": 255.405,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.25846,
    "c": 0.12193,
    "h": 286
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#23105A
secondary
#7A9333
accent
#ED3BBF
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23105A

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

Preview Lab → · Contrast checker → · Palette generator →

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