#23134D#23134D

#23134D is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 24.9% C 0.101 H 289.7°. Best body text is #FFFFFF at 16.51:1 contrast (WCAG AA passes).

Color values

HEX#23134D
RGBrgb(35, 19, 77)
HSLhsl(257, 60%, 19%)
HSVhsv(257, 75%, 30%)
CMYKcmyk(54.5%, 75.3%, 0%, 69.8%)
CIE-LABlab(11.68, 24.58, -33.01)
CIE-LCHlch(11.68, 41.15, 306.67°)
OKLaboklab(24.93% 0.034 -0.0947)
OKLCHoklch(24.93% 0.101 289.7)
XYZxyz(2.2652, 1.3588, 7.1627)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23134D #3D4D13
analogous
#13204D #23134D #40134D
triadic
#23134D #4D2313 #134D23
tetradic
#23134D #4D1320 #3D4D13 #134D40
square
#23134D #4D1320 #3D4D13 #134D40
split-complementary
#23134D #4D4013 #204D13
monochromatic
#0B0619 #0D071C #23134D #391F7E #502BAF

Accessibility & contrast

On white

16.51
#23134D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23134D
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23134D#FFFFFF#000000##FFFFFF
##23134D1.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204F
Deuteranopia (green-blind)
#001D4C
Tritanopia (blue-blind)
#15222E
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #23134d;
/* rgb */ color: rgb(35, 19, 77);
/* oklch */ color: oklch(24.9% 0.101 289.7);
Tailwind
colors: {
  custom: {
    50: '#63527f',
    500: '#23134d',
    950: '#000000',
  },
}
SCSS
$custom: #23134d;
$custom-light: #63527f;
$custom-dark: #000000;
JSON
{
  "hex": "#23134d",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 77
  },
  "hsl": {
    "h": 256.552,
    "s": 60.417,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24934,
    "c": 0.1006,
    "h": 289.7
  },
  "luminance": 0.01359
}

Semantic roles & 50–950 ramp

primary
#23134D
secondary
#708636
accent
#E444B8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23134D

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

Preview Lab → · Contrast checker → · Palette generator →

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