#23106E#23106E

#23106E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.147 H 280.5°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#23106E
RGBrgb(35, 16, 110)
HSLhsl(252, 75%, 25%)
HSVhsv(252, 85%, 43%)
CMYKcmyk(68.2%, 85.5%, 0%, 56.9%)
CIE-LABlab(14.70, 37.01, -50.16)
CIE-LCHlch(14.70, 62.34, 306.42°)
OKLaboklab(28.14% 0.0268 -0.1448)
OKLCHoklch(28.14% 0.147 280.5)
XYZxyz(3.6920, 1.8534, 14.9120)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23106E #5B6E10
analogous
#102C6E #23106E #52106E
triadic
#23106E #6E2310 #106E23
tetradic
#23106E #6E102C #5B6E10 #106E52
square
#23106E #6E102C #5B6E10 #106E52
split-complementary
#23106E #6E5210 #2C6E10
monochromatic
#09041B #120839 #23106E #3418A3 #4520D9

Accessibility & contrast

On white

15.32
#23106E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23106E
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23106E#FFFFFF#000000##FFFFFF
##23106E1.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002871
Deuteranopia (green-blind)
#00216C
Tritanopia (blue-blind)
#002D40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23106e;
/* rgb */ color: rgb(35, 16, 110);
/* oklch */ color: oklch(28.1% 0.147 280.5);
Tailwind
colors: {
  custom: {
    50: '#6a5299',
    500: '#23106e',
    950: '#000000',
  },
}
SCSS
$custom: #23106e;
$custom-light: #6a5299;
$custom-dark: #000000;
JSON
{
  "hex": "#23106e",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 110
  },
  "hsl": {
    "h": 252.128,
    "s": 74.603,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28137,
    "c": 0.14725,
    "h": 280.5
  },
  "luminance": 0.01854
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #23106E

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

Preview Lab → · Contrast checker → · Palette generator →

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