#230C3A#230C3A

#230C3A is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 22.0% C 0.085 H 302.9°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#230C3A
RGBrgb(35, 12, 58)
HSLhsl(270, 66%, 14%)
HSVhsv(270, 79%, 23%)
CMYKcmyk(39.7%, 79.3%, 0%, 77.3%)
CIE-LABlab(8.36, 22.84, -25.02)
CIE-LCHlch(8.36, 33.88, 312.39°)
OKLaboklab(22% 0.046 -0.0712)
OKLCHoklch(22% 0.085 302.9)
XYZxyz(1.5882, 0.9258, 4.0972)
Luminance0.0093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C3A #233A0C
analogous
#0C0C3A #230C3A #3A0C3A
triadic
#230C3A #3A230C #0C3A23
tetradic
#230C3A #3A0C0C #233A0C #0C3A3A
square
#230C3A #3A0C0C #233A0C #0C3A3A
split-complementary
#230C3A #3A3A0C #0C3A0C
monochromatic
#0F0519 #0F0519 #230C3A #42166D #60219F

Accessibility & contrast

On white

17.72
#230C3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C3A
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C3A#FFFFFF#000000##FFFFFF
##230C3A1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001839
Tritanopia (blue-blind)
#1E1721
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230c3a;
/* rgb */ color: rgb(35, 12, 58);
/* oklch */ color: oklch(22.0% 0.085 302.9);
Tailwind
colors: {
  custom: {
    50: '#604c70',
    500: '#230c3a',
    950: '#000000',
  },
}
SCSS
$custom: #230c3a;
$custom-light: #604c70;
$custom-dark: #000000;
JSON
{
  "hex": "#230c3a",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 58
  },
  "hsl": {
    "h": 270,
    "s": 65.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22004,
    "c": 0.08476,
    "h": 302.9
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#230C3A
secondary
#51762C
accent
#E93F94
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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