#230A30#230A30

#230A30 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.8% C 0.075 H 311.9°. Best body text is #FFFFFF at 18.14:1 contrast (WCAG AA passes).

Color values

HEX#230A30
RGBrgb(35, 10, 48)
HSLhsl(279, 66%, 11%)
HSVhsv(279, 79%, 19%)
CMYKcmyk(27.1%, 79.2%, 0%, 81.2%)
CIE-LABlab(7.12, 21.00, -19.72)
CIE-LCHlch(7.12, 28.81, 316.81°)
OKLaboklab(20.82% 0.05 -0.0557)
OKLCHoklch(20.82% 0.075 311.9)
XYZxyz(1.3351, 0.7878, 2.8775)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A30 #17300A
analogous
#100A30 #230A30 #300A2A
triadic
#230A30 #30230A #0A3023
tetradic
#230A30 #30100A #17300A #0A2A30
square
#230A30 #30100A #17300A #0A2A30
split-complementary
#230A30 #2A300A #0A3010
monochromatic
#120519 #120519 #230A30 #481563 #6D1F95

Accessibility & contrast

On white

18.14
#230A30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230A30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A30
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A30#FFFFFF#000000##FFFFFF
##230A301.0018.141.1618.14
#FFFFFF18.141.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001431
Deuteranopia (green-blind)
#07162F
Tritanopia (blue-blind)
#21121B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230a30;
/* rgb */ color: rgb(35, 10, 48);
/* oklch */ color: oklch(20.8% 0.075 311.9);
Tailwind
colors: {
  custom: {
    50: '#5f4b68',
    500: '#230a30',
    950: '#000000',
  },
}
SCSS
$custom: #230a30;
$custom-light: #5f4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#230a30",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 48
  },
  "hsl": {
    "h": 279.474,
    "s": 65.517,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20819,
    "c": 0.07491,
    "h": 311.9
  },
  "luminance": 0.00788
}

Semantic roles & 50–950 ramp

primary
#230A30
secondary
#406D29
accent
#E83F79
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230A30

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

Preview Lab → · Contrast checker → · Palette generator →

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