#23146D#23146D

#23146D is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.142 H 280.1°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#23146D
RGBrgb(35, 20, 109)
HSLhsl(250, 69%, 25%)
HSVhsv(250, 82%, 43%)
CMYKcmyk(67.9%, 81.7%, 0%, 57.3%)
CIE-LABlab(15.28, 34.65, -48.54)
CIE-LCHlch(15.28, 59.64, 305.52°)
OKLaboklab(28.51% 0.0249 -0.1401)
OKLCHoklch(28.51% 0.142 280.1)
XYZxyz(3.7027, 1.9615, 14.6485)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23146D #5E6D14
analogous
#14326D #23146D #4F146D
triadic
#23146D #6D2314 #146D23
tetradic
#23146D #6D1432 #5E6D14 #146D4F
square
#23146D #6D1432 #5E6D14 #146D4F
split-complementary
#23146D #6D4F14 #326D14
monochromatic
#08051A #120B39 #23146D #341DA1 #4427D4

Accessibility & contrast

On white

15.08
#23146D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#23146D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23146D
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23146D#FFFFFF#000000##FFFFFF
##23146D1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296F
Deuteranopia (green-blind)
#00236B
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23146d;
/* rgb */ color: rgb(35, 20, 109);
/* oklch */ color: oklch(28.5% 0.142 280.1);
Tailwind
colors: {
  custom: {
    50: '#6a5498',
    500: '#23146d',
    950: '#000000',
  },
}
SCSS
$custom: #23146d;
$custom-light: #6a5498;
$custom-dark: #000000;
JSON
{
  "hex": "#23146d",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 109
  },
  "hsl": {
    "h": 250.112,
    "s": 68.992,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28509,
    "c": 0.14232,
    "h": 280.1
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#23146D
secondary
#92A439
accent
#EC3CCE
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23146D

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

Preview Lab → · Contrast checker → · Palette generator →

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