#230C3B#230C3B

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

Color values

HEX#230C3B
RGBrgb(35, 12, 59)
HSLhsl(269, 66%, 14%)
HSVhsv(269, 80%, 23%)
CMYKcmyk(40.7%, 79.7%, 0%, 76.9%)
CIE-LABlab(8.45, 23.14, -25.60)
CIE-LCHlch(8.45, 34.51, 312.11°)
OKLaboklab(22.1% 0.0458 -0.0729)
OKLCHoklch(22.1% 0.086 302.2)
XYZxyz(1.6138, 0.9360, 4.2325)
Luminance0.0094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C3B #243B0C
analogous
#0C0D3B #230C3B #3B0C3B
triadic
#230C3B #3B230C #0C3B23
tetradic
#230C3B #3B0C0D #243B0C #0C3B3B
square
#230C3B #3B0C0D #243B0C #0C3B3B
split-complementary
#230C3B #3B3B0C #0D3B0C
monochromatic
#0F0519 #0F0519 #230C3B #41166E #5F21A1

Accessibility & contrast

On white

17.69
#230C3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230C3B
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C3B#FFFFFF#000000##FFFFFF
##230C3B1.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230c3b;
/* rgb */ color: rgb(35, 12, 59);
/* oklch */ color: oklch(22.1% 0.086 302.2);
Tailwind
colors: {
  custom: {
    50: '#614d71',
    500: '#230c3b',
    950: '#000000',
  },
}
SCSS
$custom: #230c3b;
$custom-light: #614d71;
$custom-dark: #000000;
JSON
{
  "hex": "#230c3b",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 59
  },
  "hsl": {
    "h": 269.362,
    "s": 66.197,
    "l": 13.922
  },
  "oklch": {
    "l": 0.22096,
    "c": 0.08609,
    "h": 302.2
  },
  "luminance": 0.00936
}

Semantic roles & 50–950 ramp

primary
#230C3B
secondary
#52772C
accent
#E93F96
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #230C3B

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

Preview Lab → · Contrast checker → · Palette generator →

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