#23135E#23135E

#23135E is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.7% C 0.124 H 284.0°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#23135E
RGBrgb(35, 19, 94)
HSLhsl(253, 66%, 22%)
HSVhsv(253, 80%, 37%)
CMYKcmyk(62.8%, 79.8%, 0%, 63.1%)
CIE-LABlab(13.42, 30.26, -41.71)
CIE-LCHlch(13.42, 51.53, 305.96°)
OKLaboklab(26.7% 0.0299 -0.1202)
OKLCHoklch(26.7% 0.124 284)
XYZxyz(2.9458, 1.6310, 10.7471)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23135E #4E5E13
analogous
#13295E #23135E #49135E
triadic
#23135E #5E2313 #135E23
tetradic
#23135E #5E1329 #4E5E13 #135E49
square
#23135E #5E1329 #4E5E13 #135E49
split-complementary
#23135E #5E4913 #295E13
monochromatic
#090519 #10092B #23135E #361D91 #4928C4

Accessibility & contrast

On white

15.83
#23135E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#23135E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23135E
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23135E#FFFFFF#000000##FFFFFF
##23135E1.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002560
Deuteranopia (green-blind)
#00205D
Tritanopia (blue-blind)
#022837
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #23135e;
/* rgb */ color: rgb(35, 19, 94);
/* oklch */ color: oklch(26.7% 0.124 284.0);
Tailwind
colors: {
  custom: {
    50: '#66538c',
    500: '#23135e',
    950: '#000000',
  },
}
SCSS
$custom: #23135e;
$custom-light: #66538c;
$custom-dark: #000000;
JSON
{
  "hex": "#23135e",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 94
  },
  "hsl": {
    "h": 252.8,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.267,
    "c": 0.12384,
    "h": 284
  },
  "luminance": 0.01631
}

Semantic roles & 50–950 ramp

primary
#23135E
secondary
#829637
accent
#E93FC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23135E

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

Preview Lab → · Contrast checker → · Palette generator →

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