#230C33#230C33

#230C33 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.4% C 0.075 H 308.4°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#230C33
RGBrgb(35, 12, 51)
HSLhsl(275, 62%, 12%)
HSVhsv(275, 76%, 20%)
CMYKcmyk(31.4%, 76.5%, 0%, 80%)
CIE-LABlab(7.76, 20.78, -20.89)
CIE-LCHlch(7.76, 29.47, 314.84°)
OKLaboklab(21.39% 0.0469 -0.059)
OKLCHoklch(21.39% 0.075 308.4)
XYZxyz(1.4220, 0.8593, 3.2223)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C33 #1C330C
analogous
#100C33 #230C33 #330C30
triadic
#230C33 #33230C #0C3323
tetradic
#230C33 #33100C #1C330C #0C3033
square
#230C33 #33100C #1C330C #0C3033
split-complementary
#230C33 #30330C #0C3310
monochromatic
#110619 #110619 #230C33 #451865 #672396

Accessibility & contrast

On white

17.92
#230C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C33
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C33#FFFFFF#000000##FFFFFF
##230C331.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#061732
Tritanopia (blue-blind)
#21141E
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230c33;
/* rgb */ color: rgb(35, 12, 51);
/* oklch */ color: oklch(21.4% 0.075 308.4);
Tailwind
colors: {
  custom: {
    50: '#604c6b',
    500: '#230c33',
    950: '#000000',
  },
}
SCSS
$custom: #230c33;
$custom-light: #604c6b;
$custom-dark: #000000;
JSON
{
  "hex": "#230c33",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 51
  },
  "hsl": {
    "h": 275.385,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.21385,
    "c": 0.0754,
    "h": 308.4
  },
  "luminance": 0.00859
}

Semantic roles & 50–950 ramp

primary
#230C33
secondary
#476F2C
accent
#E54385
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230C33

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

Preview Lab → · Contrast checker → · Palette generator →

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