#230D3C#230D3C

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

Color values

HEX#230D3C
RGBrgb(35, 13, 60)
HSLhsl(268, 64%, 14%)
HSVhsv(268, 78%, 24%)
CMYKcmyk(41.7%, 78.3%, 0%, 76.5%)
CIE-LABlab(8.75, 22.85, -25.83)
CIE-LCHlch(8.75, 34.48, 311.50°)
OKLaboklab(22.34% 0.0444 -0.0735)
OKLCHoklch(22.34% 0.086 301.1)
XYZxyz(1.6525, 0.9714, 4.3745)
Luminance0.0097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D3C #263C0D
analogous
#0D0F3C #230D3C #3B0D3C
triadic
#230D3C #3C230D #0D3C23
tetradic
#230D3C #3C0D0F #263C0D #0D3C3B
square
#230D3C #3C0D0F #263C0D #0D3C3B
split-complementary
#230D3C #3C3B0D #0F3C0D
monochromatic
#0F0519 #0F0519 #230D3C #40186E #5E23A1

Accessibility & contrast

On white

17.58
#230D3C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230D3C
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D3C#FFFFFF#000000##FFFFFF
##230D3C1.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#1E1823
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230d3c;
/* rgb */ color: rgb(35, 13, 60);
/* oklch */ color: oklch(22.3% 0.086 301.1);
Tailwind
colors: {
  custom: {
    50: '#614d72',
    500: '#230d3c',
    950: '#000000',
  },
}
SCSS
$custom: #230d3c;
$custom-light: #614d72;
$custom-dark: #000000;
JSON
{
  "hex": "#230d3c",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 60
  },
  "hsl": {
    "h": 268.085,
    "s": 64.384,
    "l": 14.314
  },
  "oklch": {
    "l": 0.22342,
    "c": 0.08589,
    "h": 301.1
  },
  "luminance": 0.00971
}

Semantic roles & 50–950 ramp

primary
#230D3C
secondary
#55782D
accent
#E74099
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #230D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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