#23134C#23134C

#23134C is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.099 H 290.2°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#23134C
RGBrgb(35, 19, 76)
HSLhsl(257, 60%, 19%)
HSVhsv(257, 75%, 30%)
CMYKcmyk(53.9%, 75%, 0%, 70.2%)
CIE-LABlab(11.59, 24.24, -32.48)
CIE-LCHlch(11.59, 40.52, 306.74°)
OKLaboklab(24.84% 0.0342 -0.0931)
OKLCHoklch(24.84% 0.099 290.2)
XYZxyz(2.2301, 1.3448, 6.9781)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23134C #3C4C13
analogous
#131F4C #23134C #3F134C
triadic
#23134C #4C2313 #134C23
tetradic
#23134C #4C131F #3C4C13 #134C3F
square
#23134C #4C131F #3C4C13 #134C3F
split-complementary
#23134C #4C3F13 #1F4C13
monochromatic
#0B0618 #0C071B #23134C #3A1F7D #502BAE

Accessibility & contrast

On white

16.55
#23134C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23134C
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23134C#FFFFFF#000000##FFFFFF
##23134C1.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204E
Deuteranopia (green-blind)
#001D4B
Tritanopia (blue-blind)
#15212D
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #23134c;
/* rgb */ color: rgb(35, 19, 76);
/* oklch */ color: oklch(24.8% 0.099 290.2);
Tailwind
colors: {
  custom: {
    50: '#63527f',
    500: '#23134c',
    950: '#000000',
  },
}
SCSS
$custom: #23134c;
$custom-light: #63527f;
$custom-dark: #000000;
JSON
{
  "hex": "#23134c",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 76
  },
  "hsl": {
    "h": 256.842,
    "s": 60,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24836,
    "c": 0.09918,
    "h": 290.2
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#23134C
secondary
#6F8536
accent
#E345B7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23134C

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

Preview Lab → · Contrast checker → · Palette generator →

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