#231041#231041

#231041 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.3% C 0.088 H 296.8°. Best body text is #FFFFFF at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#231041
RGBrgb(35, 16, 65)
HSLhsl(263, 60%, 16%)
HSVhsv(263, 75%, 25%)
CMYKcmyk(46.2%, 75.4%, 0%, 74.5%)
CIE-LABlab(9.87, 22.55, -27.57)
CIE-LCHlch(9.87, 35.62, 309.28°)
OKLaboklab(23.29% 0.0397 -0.0787)
OKLCHoklch(23.29% 0.088 296.8)
XYZxyz(1.8323, 1.1095, 5.1176)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231041 #2E4110
analogous
#101541 #231041 #3B1041
triadic
#231041 #412310 #104123
tetradic
#231041 #411015 #2E4110 #10413B
square
#231041 #411015 #2E4110 #10413B
split-complementary
#231041 #413B10 #154110
monochromatic
#0D0619 #0D0619 #231041 #3D1C72 #5828A3

Accessibility & contrast

On white

17.18
#231041 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#231041 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231041
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231041#FFFFFF#000000##FFFFFF
##2310411.0017.181.2217.18
#FFFFFF17.181.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B42
Deuteranopia (green-blind)
#001B40
Tritanopia (blue-blind)
#1B1C26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #231041;
/* rgb */ color: rgb(35, 16, 65);
/* oklch */ color: oklch(23.3% 0.088 296.8);
Tailwind
colors: {
  custom: {
    50: '#614f76',
    500: '#231041',
    950: '#000000',
  },
}
SCSS
$custom: #231041;
$custom-light: #614f76;
$custom-dark: #000000;
JSON
{
  "hex": "#231041",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 65
  },
  "hsl": {
    "h": 263.265,
    "s": 60.494,
    "l": 15.882
  },
  "oklch": {
    "l": 0.23288,
    "c": 0.08812,
    "h": 296.8
  },
  "luminance": 0.0111
}

Semantic roles & 50–950 ramp

primary
#231041
secondary
#5F7B32
accent
#E444A6
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050208
muted
#79787B

Preview Lab

Preview with #231041

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

Preview Lab → · Contrast checker → · Palette generator →

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