#230943#230943

#230943 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.5% C 0.101 H 298.0°. Best body text is #FFFFFF at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#230943
RGBrgb(35, 9, 67)
HSLhsl(267, 76%, 15%)
HSVhsv(267, 87%, 26%)
CMYKcmyk(47.8%, 86.6%, 0%, 73.7%)
CIE-LABlab(8.64, 27.18, -31.00)
CIE-LCHlch(8.64, 41.23, 311.24°)
OKLaboklab(22.47% 0.0472 -0.0887)
OKLCHoklch(22.47% 0.101 298)
XYZxyz(1.8037, 0.9579, 5.3990)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230943 #294309
analogous
#090C43 #230943 #400943
triadic
#230943 #432309 #094323
tetradic
#230943 #43090C #294309 #094340
square
#230943 #43090C #294309 #094340
split-complementary
#230943 #434009 #0C4309
monochromatic
#0E041B #0E041B #230943 #3F1079 #5B17AF

Accessibility & contrast

On white

17.62
#230943 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230943 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230943
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230943#FFFFFF#000000##FFFFFF
##2309431.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001945
Deuteranopia (green-blind)
#001842
Tritanopia (blue-blind)
#1B1926
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230943;
/* rgb */ color: rgb(35, 9, 67);
/* oklch */ color: oklch(22.5% 0.101 298.0);
Tailwind
colors: {
  custom: {
    50: '#624b78',
    500: '#230943',
    950: '#000000',
  },
}
SCSS
$custom: #230943;
$custom-light: #624b78;
$custom-dark: #000000;
JSON
{
  "hex": "#230943",
  "rgb": {
    "r": 35,
    "g": 9,
    "b": 67
  },
  "hsl": {
    "h": 266.897,
    "s": 76.316,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2247,
    "c": 0.10051,
    "h": 298
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#230943
secondary
#598127
accent
#F3359E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230943

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

Preview Lab → · Contrast checker → · Palette generator →

#230943 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva