#23145D#23145D

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

Color values

HEX#23145D
RGBrgb(35, 20, 93)
HSLhsl(252, 65%, 22%)
HSVhsv(252, 78%, 36%)
CMYKcmyk(62.4%, 78.5%, 0%, 63.5%)
CIE-LABlab(13.52, 29.34, -40.87)
CIE-LCHlch(13.52, 50.31, 305.67°)
OKLaboklab(26.74% 0.0294 -0.1177)
OKLCHoklch(26.74% 0.121 284)
XYZxyz(2.9185, 1.6478, 10.5181)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23145D #4E5D14
analogous
#14295D #23145D #48145D
triadic
#23145D #5D2314 #145D23
tetradic
#23145D #5D1429 #4E5D14 #145D48
square
#23145D #5D1429 #4E5D14 #145D48
split-complementary
#23145D #5D4814 #295D14
monochromatic
#090519 #10092B #23145D #361F8F #492AC2

Accessibility & contrast

On white

15.79
#23145D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#23145D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23145D
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23145D#FFFFFF#000000##FFFFFF
##23145D1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255F
Deuteranopia (green-blind)
#00205C
Tritanopia (blue-blind)
#032837
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #23145d;
/* rgb */ color: rgb(35, 20, 93);
/* oklch */ color: oklch(26.7% 0.121 284.0);
Tailwind
colors: {
  custom: {
    50: '#66538c',
    500: '#23145d',
    950: '#000000',
  },
}
SCSS
$custom: #23145d;
$custom-light: #66538c;
$custom-dark: #000000;
JSON
{
  "hex": "#23145d",
  "rgb": {
    "r": 35,
    "g": 20,
    "b": 93
  },
  "hsl": {
    "h": 252.329,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.26738,
    "c": 0.12135,
    "h": 284
  },
  "luminance": 0.01648
}

Semantic roles & 50–950 ramp

primary
#23145D
secondary
#829538
accent
#E840C5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23145D

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

Preview Lab → · Contrast checker → · Palette generator →

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