#23134F#23134F

#23134F is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.1% C 0.103 H 289.0°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#23134F
RGBrgb(35, 19, 79)
HSLhsl(256, 61%, 19%)
HSVhsv(256, 76%, 31%)
CMYKcmyk(55.7%, 75.9%, 0%, 69%)
CIE-LABlab(11.87, 25.24, -34.07)
CIE-LCHlch(11.87, 42.40, 306.53°)
OKLaboklab(25.13% 0.0336 -0.0978)
OKLCHoklch(25.13% 0.103 289)
XYZxyz(2.3369, 1.3875, 7.5403)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23134F #3F4F13
analogous
#13214F #23134F #41134F
triadic
#23134F #4F2313 #134F23
tetradic
#23134F #4F1321 #3F4F13 #134F41
square
#23134F #4F1321 #3F4F13 #134F41
split-complementary
#23134F #4F4113 #214F13
monochromatic
#0B0619 #0D071E #23134F #391F80 #4F2BB2

Accessibility & contrast

On white

16.44
#23134F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#23134F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23134F
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23134F#FFFFFF#000000##FFFFFF
##23134F1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001E4E
Tritanopia (blue-blind)
#13222F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #23134f;
/* rgb */ color: rgb(35, 19, 79);
/* oklch */ color: oklch(25.1% 0.103 289.0);
Tailwind
colors: {
  custom: {
    50: '#635281',
    500: '#23134f',
    950: '#000000',
  },
}
SCSS
$custom: #23134f;
$custom-light: #635281;
$custom-dark: #000000;
JSON
{
  "hex": "#23134f",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 79
  },
  "hsl": {
    "h": 256,
    "s": 61.224,
    "l": 19.216
  },
  "oklch": {
    "l": 0.25132,
    "c": 0.10341,
    "h": 289
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#23134F
secondary
#728836
accent
#E443B9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23134F

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

Preview Lab → · Contrast checker → · Palette generator →

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