#230F35#230F35

#230F35 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.1% C 0.073 H 305.5°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#230F35
RGBrgb(35, 15, 53)
HSLhsl(272, 56%, 13%)
HSVhsv(272, 72%, 21%)
CMYKcmyk(34%, 71.7%, 0%, 79.2%)
CIE-LABlab(8.62, 19.48, -20.98)
CIE-LCHlch(8.62, 28.63, 312.87°)
OKLaboklab(22.06% 0.0423 -0.0593)
OKLCHoklch(22.06% 0.073 305.5)
XYZxyz(1.5064, 0.9560, 3.4726)
Luminance0.0096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F35 #21350F
analogous
#100F35 #230F35 #350F34
triadic
#230F35 #35230F #0F3523
tetradic
#230F35 #35100F #21350F #0F3435
square
#230F35 #35100F #21350F #0F3435
split-complementary
#230F35 #34350F #0F3510
monochromatic
#100718 #100718 #230F35 #421C65 #622A94

Accessibility & contrast

On white

17.63
#230F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230F35
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F35#FFFFFF#000000##FFFFFF
##230F351.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011836
Deuteranopia (green-blind)
#071934
Tritanopia (blue-blind)
#201720
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #230f35;
/* rgb */ color: rgb(35, 15, 53);
/* oklch */ color: oklch(22.1% 0.073 305.5);
Tailwind
colors: {
  custom: {
    50: '#604e6c',
    500: '#230f35',
    950: '#000000',
  },
}
SCSS
$custom: #230f35;
$custom-light: #604e6c;
$custom-dark: #000000;
JSON
{
  "hex": "#230f35",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 271.579,
    "s": 55.882,
    "l": 13.333
  },
  "oklch": {
    "l": 0.2206,
    "c": 0.07282,
    "h": 305.5
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#230F35
secondary
#4E6F31
accent
#DF4990
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050107
muted
#79777A

Preview Lab

Preview with #230F35

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

Preview Lab → · Contrast checker → · Palette generator →

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