#231046#231046

#231046 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.8% C 0.095 H 294.1°. Best body text is #FFFFFF at 17.02:1 contrast (WCAG AA passes).

Color values

HEX#231046
RGBrgb(35, 16, 70)
HSLhsl(261, 63%, 17%)
HSVhsv(261, 77%, 27%)
CMYKcmyk(50%, 77.1%, 0%, 72.5%)
CIE-LABlab(10.33, 24.15, -30.34)
CIE-LCHlch(10.33, 38.78, 308.52°)
OKLaboklab(23.76% 0.0388 -0.0868)
OKLCHoklch(23.76% 0.095 294.1)
XYZxyz(1.9836, 1.1700, 5.9145)
Luminance0.0117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231046 #334610
analogous
#101846 #231046 #3E1046
triadic
#231046 #462310 #104623
tetradic
#231046 #461018 #334610 #10463E
square
#231046 #461018 #334610 #10463E
split-complementary
#231046 #463E10 #184610
monochromatic
#0C0619 #0C0619 #231046 #3C1B78 #5527AA

Accessibility & contrast

On white

17.02
#231046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#231046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231046
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231046#FFFFFF#000000##FFFFFF
##2310461.0017.021.2317.02
#FFFFFF17.021.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001B45
Tritanopia (blue-blind)
#191D29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #231046;
/* rgb */ color: rgb(35, 16, 70);
/* oklch */ color: oklch(23.8% 0.095 294.1);
Tailwind
colors: {
  custom: {
    50: '#62507a',
    500: '#231046',
    950: '#000000',
  },
}
SCSS
$custom: #231046;
$custom-light: #62507a;
$custom-dark: #000000;
JSON
{
  "hex": "#231046",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 70
  },
  "hsl": {
    "h": 261.111,
    "s": 62.791,
    "l": 16.863
  },
  "oklch": {
    "l": 0.23764,
    "c": 0.0951,
    "h": 294.1
  },
  "luminance": 0.0117
}

Semantic roles & 50–950 ramp

primary
#231046
secondary
#648032
accent
#E642AC
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #231046

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

Preview Lab → · Contrast checker → · Palette generator →

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