#23136F#23136F

#23136F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.146 H 279.8°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#23136F
RGBrgb(35, 19, 111)
HSLhsl(250, 71%, 25%)
HSVhsv(250, 83%, 44%)
CMYKcmyk(68.5%, 82.9%, 0%, 56.5%)
CIE-LABlab(15.33, 35.83, -49.77)
CIE-LCHlch(15.33, 61.33, 305.75°)
OKLaboklab(28.61% 0.0249 -0.1437)
OKLCHoklch(28.61% 0.146 279.8)
XYZxyz(3.7943, 1.9705, 15.2162)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23136F #5F6F13
analogous
#13316F #23136F #51136F
triadic
#23136F #6F2313 #136F23
tetradic
#23136F #6F1331 #5F6F13 #136F51
square
#23136F #6F1331 #5F6F13 #136F51
split-complementary
#23136F #6F5113 #316F13
monochromatic
#08041A #130A3B #23136F #331CA3 #4425D8

Accessibility & contrast

On white

15.06
#23136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#23136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23136F
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23136F#FFFFFF#000000##FFFFFF
##23136F1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A72
Deuteranopia (green-blind)
#00236D
Tritanopia (blue-blind)
#002F41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23136f;
/* rgb */ color: rgb(35, 19, 111);
/* oklch */ color: oklch(28.6% 0.146 279.8);
Tailwind
colors: {
  custom: {
    50: '#6a5499',
    500: '#23136f',
    950: '#000000',
  },
}
SCSS
$custom: #23136f;
$custom-light: #6a5499;
$custom-dark: #000000;
JSON
{
  "hex": "#23136f",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 250.435,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.28611,
    "c": 0.14582,
    "h": 279.8
  },
  "luminance": 0.01971
}

Semantic roles & 50–950 ramp

primary
#23136F
secondary
#93A638
accent
#EE3ACE
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #23136F

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

Preview Lab → · Contrast checker → · Palette generator →

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