#23134E#23134E

#23134E is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.102 H 289.3°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#23134E
RGBrgb(35, 19, 78)
HSLhsl(256, 61%, 19%)
HSVhsv(256, 76%, 31%)
CMYKcmyk(55.1%, 75.6%, 0%, 69.4%)
CIE-LABlab(11.78, 24.91, -33.54)
CIE-LCHlch(11.78, 41.78, 306.60°)
OKLaboklab(25.03% 0.0338 -0.0962)
OKLCHoklch(25.03% 0.102 289.3)
XYZxyz(2.3008, 1.3730, 7.3500)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23134E #3E4E13
analogous
#13214E #23134E #41134E
triadic
#23134E #4E2313 #134E23
tetradic
#23134E #4E1321 #3E4E13 #134E41
square
#23134E #4E1321 #3E4E13 #134E41
split-complementary
#23134E #4E4113 #214E13
monochromatic
#0B0619 #0D071D #23134E #391F7F #4F2BB0

Accessibility & contrast

On white

16.48
#23134E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#23134E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23134E
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23134E#FFFFFF#000000##FFFFFF
##23134E1.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002050
Deuteranopia (green-blind)
#001E4D
Tritanopia (blue-blind)
#14222E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #23134e;
/* rgb */ color: rgb(35, 19, 78);
/* oklch */ color: oklch(25.0% 0.102 289.3);
Tailwind
colors: {
  custom: {
    50: '#635280',
    500: '#23134e',
    950: '#000000',
  },
}
SCSS
$custom: #23134e;
$custom-light: #635280;
$custom-dark: #000000;
JSON
{
  "hex": "#23134e",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 78
  },
  "hsl": {
    "h": 256.271,
    "s": 60.825,
    "l": 19.02
  },
  "oklch": {
    "l": 0.25033,
    "c": 0.102,
    "h": 289.3
  },
  "luminance": 0.01373
}

Semantic roles & 50–950 ramp

primary
#23134E
secondary
#718736
accent
#E444B9
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23134E

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

Preview Lab → · Contrast checker → · Palette generator →

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