#23106D#23106D

#23106D is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.146 H 280.7°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#23106D
RGBrgb(35, 16, 109)
HSLhsl(252, 74%, 25%)
HSVhsv(252, 85%, 43%)
CMYKcmyk(67.9%, 85.3%, 0%, 57.3%)
CIE-LABlab(14.58, 36.70, -49.71)
CIE-LCHlch(14.58, 61.79, 306.44°)
OKLaboklab(28.02% 0.0272 -0.1435)
OKLCHoklch(28.02% 0.146 280.7)
XYZxyz(3.6379, 1.8317, 14.6269)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23106D #5A6D10
analogous
#102C6D #23106D #52106D
triadic
#23106D #6D2310 #106D23
tetradic
#23106D #6D102C #5A6D10 #106D52
square
#23106D #6D102C #5A6D10 #106D52
split-complementary
#23106D #6D5210 #2C6D10
monochromatic
#09041B #120838 #23106D #3418A2 #4520D8

Accessibility & contrast

On white

15.37
#23106D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#23106D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23106D
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23106D#FFFFFF#000000##FFFFFF
##23106D1.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00216B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23106d;
/* rgb */ color: rgb(35, 16, 109);
/* oklch */ color: oklch(28.0% 0.146 280.7);
Tailwind
colors: {
  custom: {
    50: '#6a5298',
    500: '#23106d',
    950: '#000000',
  },
}
SCSS
$custom: #23106d;
$custom-light: #6a5298;
$custom-dark: #000000;
JSON
{
  "hex": "#23106d",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 109
  },
  "hsl": {
    "h": 252.258,
    "s": 74.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28019,
    "c": 0.14602,
    "h": 280.7
  },
  "luminance": 0.01832
}

Semantic roles & 50–950 ramp

primary
#23106D
secondary
#8EA534
accent
#F137CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #23106D

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

Preview Lab → · Contrast checker → · Palette generator →

#23106D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva