#23107E#23107E

#23107E is a dark, vivid violet. Relative luminance 0.022; OKLCH L 30.1% C 0.167 H 277.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#23107E
RGBrgb(35, 16, 126)
HSLhsl(250, 77%, 28%)
HSVhsv(250, 87%, 49%)
CMYKcmyk(72.2%, 87.3%, 0%, 50.6%)
CIE-LABlab(16.67, 41.96, -57.21)
CIE-LCHlch(16.67, 70.95, 306.26°)
OKLaboklab(30.07% 0.0213 -0.1653)
OKLCHoklch(30.07% 0.167 277.3)
XYZxyz(4.6431, 2.2338, 19.9211)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23107E #6B7E10
analogous
#10347E #23107E #5A107E
triadic
#23107E #7E2310 #107E23
tetradic
#23107E #7E1034 #6B7E10 #107E5A
square
#23107E #7E1034 #6B7E10 #107E5A
split-complementary
#23107E #7E5A10 #347E10
monochromatic
#08031B #140948 #23107E #3217B4 #4625E3

Accessibility & contrast

On white

14.51
#23107E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#23107E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23107E
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23107E#FFFFFF#000000##FFFFFF
##23107E1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D81
Deuteranopia (green-blind)
#00257C
Tritanopia (blue-blind)
#003449
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #23107e;
/* rgb */ color: rgb(35, 16, 126);
/* oklch */ color: oklch(30.1% 0.167 277.3);
Tailwind
colors: {
  custom: {
    50: '#6e54a5',
    500: '#23107e',
    950: '#000000',
  },
}
SCSS
$custom: #23107e;
$custom-light: #6e54a5;
$custom-dark: #000000;
JSON
{
  "hex": "#23107e",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 126
  },
  "hsl": {
    "h": 250.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.30066,
    "c": 0.16663,
    "h": 277.3
  },
  "luminance": 0.02234
}

Semantic roles & 50–950 ramp

primary
#23107E
secondary
#9EB436
accent
#F434D3
background
#F7F5FA
surface
#EDE8F4
border
#C8C4CE
text
#08030F
muted
#7B787F

Preview Lab

Preview with #23107E

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

Preview Lab → · Contrast checker → · Palette generator →

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