#231045#231045

#231045 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.7% C 0.094 H 294.6°. Best body text is #FFFFFF at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#231045
RGBrgb(35, 16, 69)
HSLhsl(262, 62%, 17%)
HSVhsv(262, 77%, 27%)
CMYKcmyk(49.3%, 76.8%, 0%, 72.9%)
CIE-LABlab(10.24, 23.83, -29.79)
CIE-LCHlch(10.24, 38.15, 308.65°)
OKLaboklab(23.67% 0.039 -0.0852)
OKLCHoklch(23.67% 0.094 294.6)
XYZxyz(1.9523, 1.1575, 5.7496)
Luminance0.0116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231045 #324510
analogous
#101845 #231045 #3E1045
triadic
#231045 #452310 #104523
tetradic
#231045 #451018 #324510 #10453E
square
#231045 #451018 #324510 #10453E
split-complementary
#231045 #453E10 #184510
monochromatic
#0D0619 #0D0619 #231045 #3C1C77 #5527A8

Accessibility & contrast

On white

17.05
#231045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231045
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231045#FFFFFF#000000##FFFFFF
##2310451.0017.051.2317.05
#FFFFFF17.051.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#001B44
Tritanopia (blue-blind)
#1A1D29
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #231045;
/* rgb */ color: rgb(35, 16, 69);
/* oklch */ color: oklch(23.7% 0.094 294.6);
Tailwind
colors: {
  custom: {
    50: '#624f79',
    500: '#231045',
    950: '#000000',
  },
}
SCSS
$custom: #231045;
$custom-light: #624f79;
$custom-dark: #000000;
JSON
{
  "hex": "#231045",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 69
  },
  "hsl": {
    "h": 261.509,
    "s": 62.353,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23667,
    "c": 0.09371,
    "h": 294.6
  },
  "luminance": 0.01158
}

Semantic roles & 50–950 ramp

primary
#231045
secondary
#637F32
accent
#E542AB
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050209
muted
#7A787B

Preview Lab

Preview with #231045

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

Preview Lab → · Contrast checker → · Palette generator →

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