#230D3B#230D3B

#230D3B is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.3% C 0.085 H 301.8°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#230D3B
RGBrgb(35, 13, 59)
HSLhsl(269, 64%, 14%)
HSVhsv(269, 78%, 23%)
CMYKcmyk(40.7%, 78%, 0%, 76.9%)
CIE-LABlab(8.66, 22.54, -25.25)
CIE-LCHlch(8.66, 33.85, 311.76°)
OKLaboklab(22.25% 0.0445 -0.0718)
OKLCHoklch(22.25% 0.085 301.8)
XYZxyz(1.6263, 0.9609, 4.2366)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D3B #253B0D
analogous
#0D0E3B #230D3B #3A0D3B
triadic
#230D3B #3B230D #0D3B23
tetradic
#230D3B #3B0D0E #253B0D #0D3B3A
square
#230D3B #3B0D0E #253B0D #0D3B3A
split-complementary
#230D3B #3B3A0D #0E3B0D
monochromatic
#0F0619 #0F0619 #230D3B #41186D #5F239F

Accessibility & contrast

On white

17.61
#230D3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#230D3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230D3B
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D3B#FFFFFF#000000##FFFFFF
##230D3B1.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00193A
Tritanopia (blue-blind)
#1E1822
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230d3b;
/* rgb */ color: rgb(35, 13, 59);
/* oklch */ color: oklch(22.3% 0.085 301.8);
Tailwind
colors: {
  custom: {
    50: '#614d71',
    500: '#230d3b',
    950: '#000000',
  },
}
SCSS
$custom: #230d3b;
$custom-light: #614d71;
$custom-dark: #000000;
JSON
{
  "hex": "#230d3b",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 59
  },
  "hsl": {
    "h": 268.696,
    "s": 63.889,
    "l": 14.118
  },
  "oklch": {
    "l": 0.2225,
    "c": 0.08454,
    "h": 301.8
  },
  "luminance": 0.00961
}

Semantic roles & 50–950 ramp

primary
#230D3B
secondary
#53772D
accent
#E74198
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #230D3B

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

Preview Lab → · Contrast checker → · Palette generator →

#230D3B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva