#23106F#23106F

#23106F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.148 H 280.3°. Best body text is #FFFFFF at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#23106F
RGBrgb(35, 16, 111)
HSLhsl(252, 75%, 25%)
HSVhsv(252, 86%, 44%)
CMYKcmyk(68.5%, 85.6%, 0%, 56.5%)
CIE-LABlab(14.82, 37.33, -50.62)
CIE-LCHlch(14.82, 62.89, 306.41°)
OKLaboklab(28.26% 0.0265 -0.1461)
OKLCHoklch(28.26% 0.148 280.3)
XYZxyz(3.7468, 1.8753, 15.2004)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23106F #5C6F10
analogous
#102D6F #23106F #53106F
triadic
#23106F #6F2310 #106F23
tetradic
#23106F #6F102D #5C6F10 #106F53
square
#23106F #6F102D #5C6F10 #106F53
split-complementary
#23106F #6F5310 #2D6F10
monochromatic
#08041B #12083A #23106F #3418A4 #451FDA

Accessibility & contrast

On white

15.27
#23106F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#23106F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23106F
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23106F#FFFFFF#000000##FFFFFF
##23106F1.0015.271.3815.27
#FFFFFF15.271.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23106f;
/* rgb */ color: rgb(35, 16, 111);
/* oklch */ color: oklch(28.3% 0.148 280.3);
Tailwind
colors: {
  custom: {
    50: '#6a5299',
    500: '#23106f',
    950: '#000000',
  },
}
SCSS
$custom: #23106f;
$custom-light: #6a5299;
$custom-dark: #000000;
JSON
{
  "hex": "#23106f",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 111
  },
  "hsl": {
    "h": 252,
    "s": 74.803,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28256,
    "c": 0.14849,
    "h": 280.3
  },
  "luminance": 0.01876
}

Semantic roles & 50–950 ramp

primary
#23106F
secondary
#90A734
accent
#F136CC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #23106F

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

Preview Lab → · Contrast checker → · Palette generator →

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