#230841#230841

#230841 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.099 H 299.5°. Best body text is #FFFFFF at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#230841
RGBrgb(35, 8, 65)
HSLhsl(268, 78%, 14%)
HSVhsv(268, 88%, 25%)
CMYKcmyk(46.2%, 87.7%, 0%, 74.5%)
CIE-LABlab(8.24, 27.14, -30.23)
CIE-LCHlch(8.24, 40.62, 311.91°)
OKLaboklab(22.13% 0.049 -0.0864)
OKLCHoklch(22.13% 0.099 299.5)
XYZxyz(1.7339, 0.9126, 5.0848)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230841 #264108
analogous
#080A41 #230841 #400841
triadic
#230841 #412308 #084123
tetradic
#230841 #41080A #264108 #084140
square
#230841 #41080A #264108 #084140
split-complementary
#230841 #414008 #0A4108
monochromatic
#0F031B #0F031B #230841 #400F77 #5E15AE

Accessibility & contrast

On white

17.76
#230841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230841
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230841#FFFFFF#000000##FFFFFF
##2308411.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001843
Deuteranopia (green-blind)
#001740
Tritanopia (blue-blind)
#1C1724
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230841;
/* rgb */ color: rgb(35, 8, 65);
/* oklch */ color: oklch(22.1% 0.099 299.5);
Tailwind
colors: {
  custom: {
    50: '#624b76',
    500: '#230841',
    950: '#000000',
  },
}
SCSS
$custom: #230841;
$custom-light: #624b76;
$custom-dark: #000000;
JSON
{
  "hex": "#230841",
  "rgb": {
    "r": 35,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 268.421,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22131,
    "c": 0.09934,
    "h": 299.5
  },
  "luminance": 0.00913
}

Semantic roles & 50–950 ramp

primary
#230841
secondary
#557F25
accent
#F53399
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #230841

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

Preview Lab → · Contrast checker → · Palette generator →

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