#23134A#23134A

#23134A is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.096 H 291.0°. Best body text is #FFFFFF at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#23134A
RGBrgb(35, 19, 74)
HSLhsl(257, 59%, 18%)
HSVhsv(257, 74%, 29%)
CMYKcmyk(52.7%, 74.3%, 0%, 71%)
CIE-LABlab(11.40, 23.57, -31.40)
CIE-LCHlch(11.40, 39.26, 306.90°)
OKLaboklab(24.64% 0.0345 -0.0899)
OKLCHoklch(24.64% 0.096 291)
XYZxyz(2.1617, 1.3174, 6.6176)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23134A #3A4A13
analogous
#131E4A #23134A #3E134A
triadic
#23134A #4A2313 #134A23
tetradic
#23134A #4A131E #3A4A13 #134A3E
square
#23134A #4A131E #3A4A13 #134A3E
split-complementary
#23134A #4A3E13 #1E4A13
monochromatic
#0C0618 #0C0619 #23134A #3A207B #512CAB

Accessibility & contrast

On white

16.62
#23134A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#23134A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23134A
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23134A#FFFFFF#000000##FFFFFF
##23134A1.0016.621.2616.62
#FFFFFF16.621.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4C
Deuteranopia (green-blind)
#001D49
Tritanopia (blue-blind)
#17212C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #23134a;
/* rgb */ color: rgb(35, 19, 74);
/* oklch */ color: oklch(24.6% 0.096 291.0);
Tailwind
colors: {
  custom: {
    50: '#62527d',
    500: '#23134a',
    950: '#000000',
  },
}
SCSS
$custom: #23134a;
$custom-light: #62527d;
$custom-dark: #000000;
JSON
{
  "hex": "#23134a",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 74
  },
  "hsl": {
    "h": 257.455,
    "s": 59.14,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24642,
    "c": 0.09634,
    "h": 291
  },
  "luminance": 0.01317
}

Semantic roles & 50–950 ramp

primary
#23134A
secondary
#6C8336
accent
#E245B5
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23134A

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

Preview Lab → · Contrast checker → · Palette generator →

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