#230D39#230D39

#230D39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.1% C 0.082 H 303.2°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#230D39
RGBrgb(35, 13, 57)
HSLhsl(270, 63%, 14%)
HSVhsv(270, 77%, 22%)
CMYKcmyk(38.6%, 77.2%, 0%, 77.6%)
CIE-LABlab(8.49, 21.94, -24.09)
CIE-LCHlch(8.49, 32.59, 312.32°)
OKLaboklab(22.07% 0.0448 -0.0684)
OKLCHoklch(22.07% 0.082 303.2)
XYZxyz(1.5754, 0.9406, 3.9687)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D39 #23390D
analogous
#0D0D39 #230D39 #390D39
triadic
#230D39 #39230D #0D3923
tetradic
#230D39 #390D0D #23390D #0D3939
square
#230D39 #390D0D #23390D #0D3939
split-complementary
#230D39 #39390D #0D390D
monochromatic
#0F0619 #0F0619 #230D39 #42186B #60249D

Accessibility & contrast

On white

17.67
#230D39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230D39
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D39#FFFFFF#000000##FFFFFF
##230D391.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#011838
Tritanopia (blue-blind)
#1F1721
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230d39;
/* rgb */ color: rgb(35, 13, 57);
/* oklch */ color: oklch(22.1% 0.082 303.2);
Tailwind
colors: {
  custom: {
    50: '#604d70',
    500: '#230d39',
    950: '#000000',
  },
}
SCSS
$custom: #230d39;
$custom-light: #604d70;
$custom-dark: #000000;
JSON
{
  "hex": "#230d39",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 57
  },
  "hsl": {
    "h": 270,
    "s": 62.857,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22069,
    "c": 0.08182,
    "h": 303.2
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#230D39
secondary
#51742D
accent
#E64294
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230D39

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

Preview Lab → · Contrast checker → · Palette generator →

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